Supply Run
Use a JavaScript for...of loop to pack every supply in array order, then report how many items were packed for the trip.
JavaScript
Challenge overview
- Format
- Logic Puzzle
- Category
- JavaScript
- Difficulty
- Beginner
javascriptloopsfor-ofarrays
Keep practicing
More coding challenges
Python · Beginner
Supply Run in Python
Iterate directly over a Python list of supplies and print every packed item in its original order without hardcoding the values.
View challengeJavaScript · Beginner
Team Roster
Use JavaScript forEach() to print every team member in order with a clear label, practicing callback values without changing the original array.
View challengeJavaScript · Beginner
Ticket Booth
Use JavaScript if and else branches to choose the correct ticket label for a child or standard admission based on the provided age.
View challenge

