Add An Onunload Attribute To Your Home Page From Chapter

Add an ONUNLOAD attribute to your home page from Chapter 2. Within that attribute, place a call to the alert function so that a farewell is displayed when the page unloads. For example, the alert window might display the message ‘Thanks for visiting my page. Come back soon!’

Posted in Uncategorized