Comment Out the Mistakes
JavaScript
10 pts
Comment Out the Mistakes
The café menu has two wrong lines: Tea: 150 Nakfa and Pizza: 1 Nakfa. Do not delete them — comment them out with // so the owner can fix them later. Also add a comment on the very first line, for example // Menu for Monday. The output must be:
Asmara Café menu Tea: 15 Nakfa Bread: 10 Nakfa Juice: 30 Nakfa
Checklist
- Add a comment on the first line.
- Comment out the two wrong lines (keep them in the code).
- Print the correct menu.
🔑 Solution
If you view the solution before passing, you earn half points for this exercise. You still need to type it and press Check to finish.
How it works, step by step
Point at a step to highlight its lines. Type the solution yourself and press Check answer to finish.
