Print Hello World in JavaScript
Advertisements
Print Hello World Program in JavaScript
This is very simple and easy program in any programming language just we need to display a message on screen.
Example
<!doctype html> <html> <head> <script> function hello() { alert("Hello World!"); } </script> </head> <body> <button onclick="hello()">Click Me</button></br></br> </body> </html>
Result
Google Advertisment