Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lära Challenge: Outputing Multiple Lines | Getting Started
Introduction to JavaScript

Svep för att visa menyn

book
Challenge: Outputing Multiple Lines

Uppgift

Swipe to start coding

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.

Lösning

Switch to desktopByt till skrivbordet för praktisk övningFortsätt där du är med ett av alternativen nedan
Var allt tydligt?

Hur kan vi förbättra det?

Tack för dina kommentarer!

Avsnitt 1. Kapitel 3

Fråga AI

expand
ChatGPT

Fråga vad du vill eller prova någon av de föreslagna frågorna för att starta vårt samtal

book
Challenge: Outputing Multiple Lines

Uppgift

Swipe to start coding

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.

Lösning

Switch to desktopByt till skrivbordet för praktisk övningFortsätt där du är med ett av alternativen nedan
Var allt tydligt?

Hur kan vi förbättra det?

Tack för dina kommentarer!

Avsnitt 1. Kapitel 3
Switch to desktopByt till skrivbordet för praktisk övningFortsätt där du är med ett av alternativen nedan
Vi beklagar att något gick fel. Vad hände?
some-alt