Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lære Challenge: Reassigning a Variable | Manipulating Data
Introduction to JavaScript

Stryg for at vise menuen

book
Challenge: Reassigning a Variable

Opgave

Swipe to start coding

You're building a file downloader for a web app. When the download starts, the status message should display "Downloading...". Once the download is complete, the status message should change to "Download Complete!".

Reassign statusMessage to "Download Complete!" after the first console.log statement.

Løsning

Switch to desktopSkift til skrivebord for at øve i den virkelige verdenFortsæt der, hvor du er, med en af nedenstående muligheder
Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

Sektion 2. Kapitel 5
Vi beklager, at noget gik galt. Hvad skete der?

Spørg AI

expand
ChatGPT

Spørg om hvad som helst eller prøv et af de foreslåede spørgsmål for at starte vores chat

book
Challenge: Reassigning a Variable

Opgave

Swipe to start coding

You're building a file downloader for a web app. When the download starts, the status message should display "Downloading...". Once the download is complete, the status message should change to "Download Complete!".

Reassign statusMessage to "Download Complete!" after the first console.log statement.

Løsning

Switch to desktopSkift til skrivebord for at øve i den virkelige verdenFortsæt der, hvor du er, med en af nedenstående muligheder
Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

Sektion 2. Kapitel 5
Switch to desktopSkift til skrivebord for at øve i den virkelige verdenFortsæt der, hvor du er, med en af nedenstående muligheder
Vi beklager, at noget gik galt. Hvad skete der?
some-alt