js navigate to page code example
Example 1: javascript got to url
window.location.href = "https://www.google.com"
Example 2: javascript go to url
window.location = url;
window.location.href = "https://www.google.com"
window.location = url;