Stay Tuned!

Subscribe to our newsletter to get our newest articles instantly!


JavaScript – Write Program to Print Hello World!!!


JavaScript is scripting language which is similar to C. It is syntax and logic are similar to C, C++ and Java.

But Java is completely different then JavaScript Keep in mind. JavaScript has fewer features than the C, C++ like we don’t have a specialized pointer in JavaScript because it is a client-side scripting programming language.

We can use an array to make different kinds of objects and similar variables.

There are many ways to show output, such as you can directly make variable or object (DOM) or document and you can pass the result. But here we are using another method which is an alert dialog box.

HTML / JS Code

   <script type='text/javascript'>
    alert('Hello World!');


Alert Box on JavaScript

Next: Learn How to Write First Script



About Author provides tutorials related to tech and programmings. We are also setting up a community for the users and students.

You may also like


JavaScript – Introduction, History, and Syntax

  • September 17, 2020
What is “JavaScript”? The first appearance of JavaScript was made in Netscape 2.0 in 1995 with a name Live Script.
javascript print hello world

JavaScript – Write First Scripting Program

  • September 19, 2020
JavaScript has it’s own style of writing codes. It requires the <script> </script> tag. The JavaScript code can be written