Is my approach to organizing and building my first website game correct? I have 5 separate HTML files along with their respective JS and CSS files. My goal is to slide in the content from the next HTML file, including its corresponding JS and CSS files, when an event is triggered until the user completes the game.
Imagine it as similar to the app Duolingo where you select the correct answer for a question and then proceed to the next one until the lesson is finished. How can I implement the sliding in of the other content effectively?