Order Total
Combine functions, arrays, loops, and conditionals in JavaScript to total an order, apply a qualifying discount, and return the final price.
JavaScript
Challenge overview
- Format
- Build a Function
- Category
- JavaScript
- Difficulty
- Beginner
javascriptfunctionsarraysloopsconditionals
Keep practicing
More coding challenges
Python · Beginner
Order Total in Python
Combine functions, lists, loops, and conditionals in Python to total an order, apply a qualifying discount, and return the final price.
View challengeJavaScript · Beginner
Pack the Backpack
Use JavaScript push() to add two essential supplies to a backpack array, then report the completed packing list and its new length.
View challengePython · Beginner
Pack the Backpack in Python
Use Python append() to add two essential supplies to a backpack list, then print the completed packing list and its new length.
View challenge

