22. Arrays and objects

Unlock this lesson

Create a free account, then buy the course to open every lesson.

What you will learn in this lesson

  • Store many values in one variable with an array.
  • Read an item by its index.
  • Count items with length and add an item with push.
  • Group named values about one product in an object.
  • Store all five Chai Corner products and print them.

55 minutes Lesson 22 of 30

Everything in Web Foundations

  • 30 step-by-step lessons
  • 3 mini projects with solutions
  • A final project for your portfolio
  • Real commands and real output in every lesson
  • Practice task with a solution in each lesson
  • Progress saved to your account