Below is the example to display an alert message when you run this script.
<p>Before the script...</p>
alert( 'Hello world!' );
<p>...After the script.</p>
If you like FreeWebMentor and you would like to contribute, you can write an article and mail your article to [email protected] Your article will appear on the FreeWebMentor main page and help other developers.