Challenge: Reassigning a Variable
Task
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
Everything was clear?
Thanks for your feedback!
SectionΒ 2. ChapterΒ 5