I am designing a static html/css website. In the contact page of the website, I have written an onclick function using inline js.
function goback() {
alert("Thank you for contacting us ");
}
<button class="app-form-button" onclick="goback()">SEND</button>
I want to revert back to the home page once the person clicks on the popup on click function. But I don't have any idea on how to add an anchor tag to create a reference url to the home page within the script tag. Can anyone please help me?