Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Apprendre Task - Output Multiple Lines | Getting Started
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 - Output Multiple Lines

Tâche

Swipe to start coding

Your task is to display a short poem in the console. The poem consists of multiple lines, and each line should be displayed individually. Here’s an example of what it should look like:

python

Display output in the console, exactly as shown above.

Note

Make sure there are no extra spaces at the end of each line.

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 3
toggle bottom row

book
Task - Output Multiple Lines

Tâche

Swipe to start coding

Your task is to display a short poem in the console. The poem consists of multiple lines, and each line should be displayed individually. Here’s an example of what it should look like:

python

Display output in the console, exactly as shown above.

Note

Make sure there are no extra spaces at the end of each line.

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 3
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