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.
Coding discussion thread
Started by
LikeLike888
, Jan 14 2024 11:03 PM
1 reply to this topic
#1
Posted 14 January 2024 - 11:03 PM
#2
Posted 15 January 2024 - 03:45 AM
You should have at least an index.html on your site
With script tags on it: <script></script>
And between that:
alert("Google Fleetwood Mac is an awesome music band")
So in total you have a file named: index.html
With as contents:
<script>
alert("Google Fleetwood Mac is an awesome music band")
</script>
- LikeLike888 and xanadude like this
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users