Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Learn Task - Output Multiple Lines | Getting Started
Introduction to JavaScript
course content

Course Content

Introduction to JavaScript

Introduction to JavaScript

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

book
Task - Output Multiple Lines

Task

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 desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

SectionΒ 1. ChapterΒ 3
toggle bottom row

book
Task - Output Multiple Lines

Task

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 desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

SectionΒ 1. ChapterΒ 3
Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
We're sorry to hear that something went wrong. What happened?
some-alt