I have 4 categories, and a button for each category! What I want to do is to run different script file upon clicking of a button! For example clicking the sports button runs a different script file and clicking music button runs another!
At the moment the script only runs upon clicking of the first button! Nothing happens when I click the other 3 buttons!
<button class="start-btn" id="start" type="button" name="button">Sports</button>
<button class="start-btn" id="start" type="button" name="button1">Movies</button>
<button class="start-btn" id="start" type="button" name="button2">Politics</button>
<button class="start-btn" id="start" type="button" name="button3">Mythology</button>
<audio id="game-audio" src="assets/audio/game-audio.mp3" autoplay loop></audio>
<script id="category" data-name="20" src="assets/javascript/app1.js"></script>
</body>
</html>