Northstar Learning › Coding course
Learn JavaScript by doing
300 quests · expressions, arrays, functions, objects and repairs
300 questions · free · no account needed · works offline once loaded
Start learningTry today’s daily challengeWhat you will cover
- Values and arithmetic
- Text and conversion
- Booleans and boundaries
- Branching
- Loops and totals
- Functions and return
- Arrays and indexing
- Mapping values
- Filtering collections
- Objects and properties
- Defaults and missing values
- Copies and mutation
- Strings and slices
- Sets and uniqueness
- Sorting numbers
- Repair a loop
- Repair a function
- Repair a filter
- Repair a conversion
- Safe data access
Try some questions
Tap a question to see the answer and why.
What does console.log print?
const adults = 3; const kids = 2; const price = 8; console.log((adults + kids) * price);
Options: 8 · An error is thrown · 19 · 40
Answer: 40
It prints: 40. Brackets run first. Add the people together, then multiply by the price.
Play with friends
Northstar also has a group quiz: host a live room, run one on a single screen, or send a friend a challenge link.
Open the group quiz