I have an html page with a button. I need it to load another html page, (course.html), when clicked.
Does anyone know the javascript code for that?
Here are the code sections I have
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=divice-width, initial-scale=1">
    
    <script type="text/javascript">
        function loadCourse(){
            <!--??????-->
        }
    </script>
</head>
<body>
    <input type="button" id="myButton" value="Find your course now!">
    <script type="text/javascript">
        document.getElementById("myButton").onclick = "loadCourse()">
        };
    </script>
</body>
 
     
     
    