So I have a piece of code that displays an alert box when opened in your browser. See below. However, when opened, it says... The page at whateverwebsite.com says: - at the top.
How can I recreate it in HTML so it's exactly like the browsers default alert box?
Please help!
<script> function myFunction() { alert("Alert here"); } </script>