Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Apprendre Task - Reassigning a Variable | Manipulating Data
Introduction to JavaScript
course content

Contenu du cours

Introduction to JavaScript

Introduction to JavaScript

1. Getting Started
2. Manipulating Data
3. Conditional Statements

book
Task - 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!".

Your task is:

  • 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 2. Chapitre 5
toggle bottom row

book
Task - 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!".

Your task is:

  • 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 2. Chapitre 5
Switch to desktopPassez à un bureau pour une pratique réelleContinuez d'où vous êtes en utilisant l'une des options ci-dessous
Nous sommes désolés de vous informer que quelque chose s'est mal passé. Qu'est-il arrivé ?
some-alt