Make a List, Check It Twice
Explore how to create and manipulate arrays, access items by index, and loop through list data with for loops. Learn to dynamically update your webpage using DOM methods and manage list items by adding or removing them with push and pop.
We'll cover the following...
We'll cover the following...
You’ve looped through numbers—now loop through data! In this lesson, you’ll use arrays to hold lists of things and loop through them with ease.
Goal
You will learn to:
Create and use arrays (lists).
Access items by index.
Loop through arrays with a
forloop. ... ... ...