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 | Section
JavaScript Essentials for Beginners - 1768407374405

bookChallenge: 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

Var allt tydligt?

Hur kan vi förbättra det?

Tack för dina kommentarer!

Avsnitt 1. Kapitel 13
single

single

Fråga AI

expand

Fråga AI

ChatGPT

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

close

bookChallenge: Commenting out Code

Svep för att visa menyn

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
single

single

some-alt