filmov
tv
Javascript 111 : Introduction to Classes & Objects for Beginners

Показать описание
#classes in #javascript define the blueprint for creating #objects, while objects are instances of those classes or standalone data structures holding properties and methods. JavaScript's combination of classes and objects facilitates the creation of organized, reusable, and maintainable code in an object-oriented manner.
We design a car using divs and moved it... lol
Timeline
==============
00:00 - Introduction
00:53 - Object Declaration
03:40 - Object example
07:10 - Class Definition
08:34 - Class Syntax
17:23 - Car UI design using css & html
26:17 - Creating the Car Class
33:16 - Creating the Car Objects
38:07 - Changing the Color of the Car
43:20 - Creating the Road Class
45:24 - Adding the road object to the code
47:35 - Moving the Cars
Source Code
==========
We design a car using divs and moved it... lol
Timeline
==============
00:00 - Introduction
00:53 - Object Declaration
03:40 - Object example
07:10 - Class Definition
08:34 - Class Syntax
17:23 - Car UI design using css & html
26:17 - Creating the Car Class
33:16 - Creating the Car Objects
38:07 - Changing the Color of the Car
43:20 - Creating the Road Class
45:24 - Adding the road object to the code
47:35 - Moving the Cars
Source Code
==========