GDES-315 Exercise_15.0

Simple pop-up alert (JS only)

by emilytrabert

HTML

<body>
    <p>This page alerts user when the document is ready</p>
</body>

JavaScript

/* Write code that executes the following:
When the document is ready, a pop-up alerts the user:
"the document is loaded and ready!"
*/

$(document).ready(function() {
    alert("The document is loaded and ready!");
});