Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Вивчайте Challenge: Outputing Multiple Lines | Section
Practice
Projects
Quizzes & Challenges
Quizzes
Challenges
/
JavaScript Essentials for Beginners - 1768407374405

bookChallenge: Outputing Multiple Lines

Завдання

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:

Roses are red,
Violets are blue,
Learning to code
Is fun to do!

Display output in the console, exactly as shown above.

Note

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

Рішення

Все було зрозуміло?

Як ми можемо покращити це?

Дякуємо за ваш відгук!

Секція 1. Розділ 3
single

single

Запитати АІ

expand

Запитати АІ

ChatGPT

Запитайте про що завгодно або спробуйте одне із запропонованих запитань, щоб почати наш чат

close

bookChallenge: Outputing Multiple Lines

Свайпніть щоб показати меню

Завдання

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:

Roses are red,
Violets are blue,
Learning to code
Is fun to do!

Display output in the console, exactly as shown above.

Note

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

Рішення

Switch to desktopПерейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів
Все було зрозуміло?

Як ми можемо покращити це?

Дякуємо за ваш відгук!

Секція 1. Розділ 3
single

single

some-alt