Printing Many Lines
Make the computer say several things in a row.
Printing Many Lines is a free Javascript for Kids lesson on CoddyKit. This is lesson 3 of 4. You can read the complete lesson below for free — then practise it hands-on in the browser with a built-in code editor and a 24/7 AI tutor. It is part of the Javascript for Kids learning path, and your progress syncs across the web and the CoddyKit app. The Javascript for Kids course includes 4 lessons in total.
Many Lines!
Hi again! 👋 Today you will print many lines at once!
One console.log makes one line. More lines, more fun!
One Line Each
Each console.log prints on its own new line. ⬇️
Stack them up to make a list!
Two Lines
Run this to print two lines! ▶️
console.log("Line one")
console.log("Line two")Make a List
You can list your favorite animals! 🐶🐱 Run this.
console.log("Dog")
console.log("Cat")
console.log("Rabbit")Count to Five
Let us count! Run this to print 1 to 5. 🔢
console.log(1)
console.log(2)
console.log(3)
console.log(4)
console.log(5)Top to Bottom
The lines print from top to bottom, in the order you write them. ⬇️
Just like reading a list!
A Little Poem
You can even write a poem! 📜 Run this.
console.log("Roses are red")
console.log("Code is fun")
console.log("I am a coder")
console.log("Now look what I have done!")Make a Menu
Pretend you own a snack shop! 🍕 Run this menu.
console.log("Pizza")
console.log("Ice cream")
console.log("Juice")As Many As You Want
You can print 2 lines, 5 lines, or even 100 lines! 🎉
Just add more console.log lines.
Build a Countdown
Let us blast off! 🚀 Run this countdown.
console.log(3)
console.log(2)
console.log(1)
console.log("Blast off!")Lines Make Lists
Many lines help you make lists, stories, menus, and countdowns. 📋
So useful and so fun!
Quick Check
Quiz time! 🧠
Line Leader!
Woohoo! 🎉 You can now print many lines to make lists, poems, and countdowns!
You are a line leader now! 🥇
Learn JavaScript with an AI tutor — free
Write and run real code in your browser, get instant help from a 24/7 AI tutor, and pick up where you left off on the web or in the app.
- Courses
- 35
- Lessons
- 140
Frequently Asked Questions
Is the “Printing Many Lines” lesson free?
Yes — the full text of “Printing Many Lines” is free to read here on the web. To practise it interactively (a built-in code editor and a 24/7 AI tutor) and unlock the rest of the Javascript for Kids course, upgrade to CoddyKit PRO. The Javascript for Kids course includes 4 lessons in total.
What will I learn in “Printing Many Lines”?
Make the computer say several things in a row. You practise Javascript for Kids with hands-on code you run directly in the browser, and a 24/7 AI tutor answers your questions as you work through the lesson.
Do I need any experience to start Javascript for Kids?
No prior experience is required. Javascript for Kids on CoddyKit is structured for beginners through advanced learners, so you can start here or from the beginning and move at your own pace. This is lesson 3 of 4.
How long does the “Printing Many Lines” lesson take?
Most CoddyKit lessons take about 5–10 minutes. Each one is bite-sized and interactive, so you make steady progress and pick up exactly where you left off across the web and the app.
Can I write and run code in this Javascript for Kids lesson?
Yes. Every Javascript for Kids lesson includes a built-in code editor, so you write and run real code right in your browser and get instant AI feedback — no local setup required.
All lessons in this course
- Your First Message with console.log
- Printing Words and Numbers
- Printing Many Lines
- Fun with Emojis and Symbols