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

Pyyhkäise näyttääksesi valikon

book
Challenge: Commenting out Code

Tehtävä

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.

Ratkaisu

Switch to desktopVaihda työpöytään todellista harjoitusta vartenJatka siitä, missä olet käyttämällä jotakin alla olevista vaihtoehdoista
Oliko kaikki selvää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

Osio 1. Luku 13
Pahoittelemme, että jotain meni pieleen. Mitä tapahtui?

Kysy tekoälyä

expand
ChatGPT

Kysy mitä tahansa tai kokeile jotakin ehdotetuista kysymyksistä aloittaaksesi keskustelumme

book
Challenge: Commenting out Code

Tehtävä

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.

Ratkaisu

Switch to desktopVaihda työpöytään todellista harjoitusta vartenJatka siitä, missä olet käyttämällä jotakin alla olevista vaihtoehdoista
Oliko kaikki selvää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

Osio 1. Luku 13
Switch to desktopVaihda työpöytään todellista harjoitusta vartenJatka siitä, missä olet käyttämällä jotakin alla olevista vaihtoehdoista
Pahoittelemme, että jotain meni pieleen. Mitä tapahtui?
some-alt