This is the course’s first coding exercise, so here’s a short guide to how exercises work on RealJS.
How Coding Exercises Work
A coding exercise runs right here in your browser. Write your code in the editor above, then click Run Tests or press Ctrl+Enter (Cmd+Enter on macOS). Automated tests call your code and mark each test as passed or failed.
Run the tests early and often, even before you change anything. A failing test’s message tells you what it found and what it expected, so read it before you edit. Fix the first failing test, then run the tests again. A different failing test usually means you made progress!
Note: If every test fails with the same short error, then JavaScript couldn’t read your code. Check the line the message names and fix that first.