how to put a link to another page in html using javascript code example
Example 1: javascript redirect
window.location.href = "http://mywebsite.com/home.html";
Example 2: javascript link to another page
window.open("http://mywebsite.com/home.html")