Menu
CoddyTech

Hello World!

Part of the Fundamentals section of Coddy's JavaScript journey. Lesson 2 of 77.

The "Hello World!" is a simple program that outputs Hello World! to the console.

In JavaScript, we use console.log() to print words to the console. The words go inside quotation marks.

Let's take a look at the "Hello World!" program in JavaScript:

console.log("Hello World!")
challenge icon

Challenge

Beginner

Use the code view to write a program that outputs Hello World!

Try it yourself

console.log("");  // put the message between the quotes
quiz iconTest yourself

This lesson includes a short quiz. Start the lesson to answer it and track your progress.

All lessons in Fundamentals

Practice on your own: Online JavaScript compiler