+ 1
Pls I need a code that jumps to a HTML page using JavaScript
Hello
5 odpowiedzi
+ 4
You can create a button or an event listener and use
window.location = “pageNameHere.html”;
Hope that helps
+ 2
<html>
<head>
<script>
function jumpToPage() {
window.location.href = "https://www.example.com";
}
</script>
</head>
<body>
<button onclick="jumpToPage()">Jump to Page</button>
</body>
</html>
+ 1
It helps but I need the source codepl🙏🙏🙏🙏🙏🙏
+ 1
The source code
+ 1
That’s it👍