Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lära Challenge: Commenting out Code | Getting Started
Introduction to JavaScript

Svep för att visa menyn

book
Challenge: Commenting out Code

Uppgift

Swipe to start coding

Some lines of the program contain syntax errors. This is a classic scenario where we might sometimes want to temporarily ignore some lines of code which are incorrect - of course to fix them later.

Find and comment out the lines that are causing errors, so that the program runs correctly. Use multi-line comments for this purpose.

Lösning

Switch to desktopByt till skrivbordet för praktisk övningFortsätt där du är med ett av alternativen nedan
Var allt tydligt?

Hur kan vi förbättra det?

Tack för dina kommentarer!

Avsnitt 1. Kapitel 13

Fråga AI

expand
ChatGPT

Fråga vad du vill eller prova någon av de föreslagna frågorna för att starta vårt samtal

book
Challenge: Commenting out Code

Uppgift

Swipe to start coding

Some lines of the program contain syntax errors. This is a classic scenario where we might sometimes want to temporarily ignore some lines of code which are incorrect - of course to fix them later.

Find and comment out the lines that are causing errors, so that the program runs correctly. Use multi-line comments for this purpose.

Lösning

Switch to desktopByt till skrivbordet för praktisk övningFortsätt där du är med ett av alternativen nedan
Var allt tydligt?

Hur kan vi förbättra det?

Tack för dina kommentarer!

Avsnitt 1. Kapitel 13
Switch to desktopByt till skrivbordet för praktisk övningFortsätt där du är med ett av alternativen nedan
Vi beklagar att något gick fel. Vad hände?
some-alt