My website development process has hit a snag with the header buttons not functioning properly. I suspect the issues lie within lines 12 to 15 of the code snippet below:
<!DOCTYPE html>
<html>
<head>
<script src="https://kit.fontawesome.com/6feb1dab38.js" crossorigin="anonymous"></script>
<link rel="stylesheet" href="resources/css/stylesheet.css">
<title>Home</title>
</head>
<header>
</header>
<body>
<div class="context">
<button class="headerButton" type="button">About Me</button>
<button class="headerButton" type="button">Links</button>
<button class="headerButton" type="button" onclick="window.location.href='Clicked/Works'; console.log('it worked')">Works</button>
<br>
<script src="resources/js/app.js"></script>
</div>
<div class="area" >
<ul class="circles">
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
</ul>
</div >
<script src="resources/js/app.js"></script>
</body>
</html>
The issue may be attributed to the buttons being encapsulated within the context. If you have any solutions or insights, please feel free to share them.