Challenge: Reassigning a Variable
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
Thanks for your feedback!
single
Ask AI
Ask AI
Ask anything or try one of the suggested questions to begin our chat
Awesome!
Completion rate improved to 1.33
Challenge: Reassigning a Variable
Swipe to show menu
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
Thanks for your feedback!
Awesome!
Completion rate improved to 1.33single