Skip to content

Instantly share code, notes, and snippets.

@SplittyDev
Created July 11, 2016 03:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SplittyDev/73e60baeae7357c95a991d20a9d3c23a to your computer and use it in GitHub Desktop.
Save SplittyDev/73e60baeae7357c95a991d20a9d3c23a to your computer and use it in GitHub Desktop.
Window Alert
<!-- The webpage should look something like that -->
<!DOCTYPE html>
<html>
<head>
<!-- Probably a few meta tags, scripts, etc here -->
<!-- Add the following to the end of the <head> section, just
before the </head> tag: -->
<script>
window.alert("Something!");
</script>
<!-- End of the alert code -->
</head>
<body>
<!-- Irrelevant -->
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment