JavaScript Program to Display Alert Message

Write a JavaScript program to display "hello, world!" alert message.



Source Code
<html>
<head>
    <title>Display "Hello, World!" message</title>
</head>
<body>
    <script>
        alert("Hello, World!");
    </script>
</body>
</html>
Output





"Coding Hub - Learn to code" app now available on Google Play Store