I have successfully implemented a 10-question trivia game with a timer in html, javascript, and css. The game currently displays images from a folder and offers 4 answer options.
However, I am looking to switch from using images to serving text-based questions instead. Can you provide guidance on making this change?
I have made significant modifications to the css and html code (and some to the js) to streamline and simplify it, drawing inspiration from codepen and various online sources. While my css and html skills have improved, my knowledge of javascript is still limited.
(function() {
// JavaScript code begins here
}());
*,
*:after,
*:before {
// CSS styling properties go here
}
<div class="container">
<div class="wrapper">
<!-- HTML structure for the quiz layout -->
</div>
</div>