Andie Posted September 13, 2022 Report Posted September 13, 2022 Please see attached screenshots. Following the instructions I had to delete the below script and just write in the windows.alert("This is an alert box!"); on the blank page to get that to show up in the opened html page. But is that what I am looking for? Doesn't make sense to me of why insert the below script then delete it. So, of course I am lost on the purpose of this exercise. Was something else supposed to happen? I don't understand the lesson. Quote
Andie Posted September 13, 2022 Author Report Posted September 13, 2022 When I leave the script and write the window.alert("This is an alert box!"); after the above script I get the same in a browser window. Issue is what does the <script type="text/javascript" language="javaScript">// <![CDATA[ function callAlert() { window.alert("This is an alert box!"); } // ]]></script> even mean? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.