[importance 5]
Take the solution of the previous task . Modify it by extracting the script content into an external file alert.js, residing in the same folder.
alert.js
Open the page, ensures that the alert works.