JavaScript: program Hello World - how it works
Related Videos: JavaScript Tutorial 1 - Getting Started - Hello World (May 2024).
In this practical tip, we will show you how to write a Hello World program in JavaScript.
JavaScript: program Hello World - how it works
Nowadays JavaScript is often used when creating websites. Hello World is a programming exercise for beginners. Here's how to do it:
- To write a Hello World program, you must first create a JavaScript file with the extension ".js". The Notepad ++ program is suitable for this, for example.
- Now simply enter the command »console.log (" Hello world! ");« In your program.
In the next practical tip, we will give you an introduction to the Java programming language.