From the course: JavaScript Essential Training
Unlock the full course today
Join today to access over 24,000 courses taught by industry experts.
Practice: Build a new object - JavaScript Tutorial
From the course: JavaScript Essential Training
Practice: Build a new object
- Throughout this course, I've created rest areas for you to get hands on practice and immediately engage with and apply what you've learned. Really, go ahead and pause this video to complete these practice assignments. These are not challenges or assessments. There are opportunities for you to play around with your new found knowledge and see what you can do. You'll find the exercise files for all the practices under the practice folder. This is your first practice assignment. Based on what you've learned so far, I want you to take some objects from your life, anything within reach really, and turn them into JavaScript objects. Give each object an identifiable name, create properties that describe the objects and set their values. Maybe find a box or bag or some other object that has another object inside and create a nested object. And finally test your objects in the browser console by accessing the entire object and…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
Objects: A practical introduction4m 53s
-
(Locked)
JavaScript objects: The code version2m 57s
-
(Locked)
Object containers2m 22s
-
(Locked)
Object properties55s
-
(Locked)
Accessing objects2m 32s
-
(Locked)
Accessing object properties5m 35s
-
(Locked)
Practice: Build a new object1m 18s
-
(Locked)
Object methods6m 29s
-
(Locked)
Practice: Build a new method56s
-
(Locked)
Classes: Object blueprints6m 35s
-
(Locked)
Object constructors2m 21s
-
(Locked)
Practice: Build a new object with a constructor1m 13s
-
(Locked)
Global objects7m 47s
-
(Locked)
Challenge intro: Create a new object type2m 5s
-
(Locked)
Solution: Create a new object type3m 16s
-
-
-
-
-
-
-
-
-