Coding discussion thread

How do I Jason code for a website that when it is visited an automatic (while website is still viewable) message shows up that says ''Google Fleetwood Mac is an awesome music band'' and when OK is clicked on the message goes away please? Thank you.
Add the property on to your body tag. It should look like this:
Code:
<body onload = "alert('Google Fleetwood Mac is an awesome music band')">

Original thread: https://forums.rpgmakerweb.com/threads/coding-discussion-thread.164800/