In this simple program that prints "Tutor Joe's" on the screen. Since it's a very simple program, this program is often used to introduce a new programming language to beginners.
In JavaScript, you can use the alert() function to display an alert box with a message to the user. The basic syntax for the alert() function is as follows:
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Tutor Joes</title> </head> <body> <script> alert("Tutor Joes"); </script> </body> </html>
This will display an alert box with the message "Tutor Joes" and an OK button that the user must click to close the alert box.You can also use the prompt() function to display an input box and get input from the user.
To download raw file Click HereLearn All in Tamil © Designed & Developed By Tutor Joes | Privacy Policy | Terms & Conditions