title: Check if an html button was clicked
body: <p>I'm a little confused on a programming assignment that I have. I need to make the button so that when the page is loaded, local storage will detect if the user clicked the button on the last time the page was loaded. If the user has clicked the button, if should give an alert statement saying they've clicked the button. If not, the alert should say that they haven't clicked the button. What I'm asking is, is there a way to check and see if an htm button was clicked on the previous page load? Thank you.</p>