Hello World

Hello friends, Welcome to JavaScript tutorial.

In this JavaScript tutorial you will learn how you can start writing javascript code from the scratch. Usually when we start learning any programming language, we start it from "hello world" program, so in this first lession we are going to start from hello world program. We will print Hello, World! on the browser console using JavaScript.

Open your browser and press F12 to open console, after opening console write below code of line.

console.log('Hello, World!, Welcome to the JavaScript tutorial');

You will see the text printed on the console Hello, World!, Welcome to the JavaScript tutorial'. It's so easy, now you can play with other messages and some combination of string operation like concatenating string etc in console.log statement.

If you don't want to practice on the console then please try this example on JSFiddle.


← Previous

Next →