I’d appreciate any type of assistance.
why a hyperlink? Its more tricky, given the hyperlink will attempt to redirect you.
There is onclick attribute:
furthermore, you will need
preventDefault() if you want to prevent the hyperlink from redirecting.
even listeners written in JS (so not the onclick attribute) would be neater, but this is is easier
Well, the whole point of it is to have hyperlink that leads back to the main page and a js that alerts about whatever (I haven’t come up with that part yet). That’s starting to look close to impossible now.
isn’t easier to include JS in your main page and give an alert when the page load? Maybe you need to look into location then: