Jump to content

Photo

Coding discussion thread


  • Please log in to reply
1 reply to this topic

#1 LikeLike888

LikeLike888

    Spicy food lover!!

  • Members
  • Real Name:Jason
  • Location:North America

Posted 14 January 2024 - 11:03 PM

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.

#2 Twilight Knight

Twilight Knight

    Tell all with glee, Argon's on PureZC

  • Members
  • Real Name:Sven
  • Location:Rotterdam, NL

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