Lesson Weekend

We've learned about JavaScript data types like strings, numbers and booleans. We have also learned about JavaScript arrays which are collections of indexed data. In this section, we are going to learn about JavaScript objects which collect data AND functions into a single object unit. We will see how business logic and user interface logic work together in the creation and updating of objects.

At the end of the section, you should be able to:

  • build JavaScript objects with constructors
  • add methods to JavaScript objects by creating prototypes

Important note: If you find video content helpful to your learning style, we recommend supplementing with external resources that include videos. Students have found Treehouse and Lynda helpful for this kind of content. Of course, there are also many tutorials and videos available on Youtube as well.

Independent Project Objectives

At the end of this section, you will complete an independent project. Your code will be reviewed for the following objectives:

  • Constructors and prototypes are used successfully.
  • Application works as expected.
  • Tests are included for each business logic behavior and code is committed after each test passes.
  • Project is in a polished, portfolio-quality state.
  • The prompt’s required functionality and baseline project requirements are in place by the deadline.

Lesson 1 of 23
Last updated October 21, 2021