Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Apprendre Challenge: Reassigning a Variable | Section
JavaScript Essentials for Beginners - 1768407374405

bookChallenge: Reassigning a Variable

Tâche

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.

Solution

Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 1. Chapitre 19
single

single

Demandez à l'IA

expand

Demandez à l'IA

ChatGPT

Posez n'importe quelle question ou essayez l'une des questions suggérées pour commencer notre discussion

close

bookChallenge: Reassigning a Variable

Glissez pour afficher le menu

Tâche

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.

Solution

Switch to desktopPassez à un bureau pour une pratique réelleContinuez d'où vous êtes en utilisant l'une des options ci-dessous
Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 1. Chapitre 19
single

single

some-alt