how to redirect from index.html to another page code example
Example: html redirect to another page
<script>
function foo() {
window.location.href = url
}
</script>
<script>
function foo() {
window.location.href = url
}
</script>