A List of Animals
Store animal clues.
Welcome, Animal Detective! 🕵️
Get ready to build a super fun Guess the Animal game! 🐶🐱🦁
The computer will think of an animal, give you clues, and YOU try to guess it. But first... we need a place to keep all our animals!
What is a List? 📝
A list (we call it an array) is like a toy box that holds lots of things. 🧸
We use square brackets [ ] and put commas between each thing.
let animals = ["dog", "cat", "lion"]
console.log("My animal box has:", animals)All lessons in this course
- A List of Animals
- Giving Clues
- Checking Guesses
- You Got It!