| Title | Topics | Action | |||
|---|---|---|---|---|---|
| 26 | For Loop: Print Array ItemsUse a for loop to print each item in the fruits array on its own line.
Array:
[... | easy | ○ Not Started | LoopsArrays | Solve |
| 27 | While Loop: Sum an ArrayUse a while loop to find the total of all numbers in the array.
Array:
[4, 8, 2... | easy | ○ Not Started | LoopsArrays | Solve |
| 29 | forEach: Print Student NamesUse forEach to print each student name with the prefix "Student: ".
forEach run... | easy | ○ Not Started | LoopsArrays | Solve |
| 30 | forEach: Calculate Total PriceUse forEach to calculate the total of all prices in the array, then print it.
A... | easy | ○ Not Started | LoopsArrays | Solve |
| 31 | map: Double Each NumberUse map to create a new array where each number is doubled, then print the resul... | easy | ○ Not Started | LoopsArrays | Solve |
| 32 | map: Convert Words to UppercaseUse map to convert each word in the array to uppercase, then print them as comma... | easy | ○ Not Started | LoopsArrays | Solve |
| 33 | filter: Keep Even NumbersUse filter to keep only the even numbers from the array, then print them as comm... | easy | ○ Not Started | LoopsArrays | Solve |
| 34 | filter: Keep Long WordsUse filter to keep words that have 5 or more characters, then print them as comm... | easy | ○ Not Started | LoopsArrays | Solve |
| 35 | map + filter: Square Even NumbersUse filter first to keep even numbers, then use map to square them. Print the re... | easy | ○ Not Started | LoopsArrays | Solve |
| 36 | forEach: Count Passing ScoresUse forEach and an if statement to count how many scores are 60 or higher, then ... | easy | ○ Not Started | LoopsArrays | Solve |
| 96 | First and Last FruitYou are given an array of fruit names. Arrays are indexed starting at 0, so the ... | easy | ○ Not Started | Arrays | Solve |
| 97 | Count the ColorsEvery array knows how many elements it holds through its .length property. You a... | easy | ○ Not Started | Arrays | Solve |
| 98 | Print Every Score with forEachThe forEach method runs a function once for every element in an array. You are g... | easy | ○ Not Started | Arrays | Solve |
| 99 | Double Every Number with mapThe map method builds a brand-new array by transforming each element with a func... | easy | ○ Not Started | Arrays | Solve |
| 100 | Keep Only the Even NumbersThe filter method builds a new array containing only the elements for which your... | easy | ○ Not Started | Arrays | Solve |
| 101 | Add Items to the CartThe push method adds a new element to the end of an array and changes the array ... | easy | ○ Not Started | Arrays | Solve |
| 102 | Is the Pet in the List?The includes method returns true or false depending on whether an array contains... | easy | ○ Not Started | Arrays | Solve |
| 103 | Square the Even NumbersArray methods can be chained: the result of one becomes the input to the next. Y... | medium | ○ Not Started | Arrays | Solve |
| 104 | Sum and Average with forEachYou can use forEach together with a variable that lives outside the loop to buil... | medium | ○ Not Started | Arrays | Solve |
| 105 | Report the Hot DaysYou are given an array of daily temperatures. First use filter to keep only the ... | medium | ○ Not Started | Arrays | Solve |