Not sure if this was the right way to organize/build my first website game but I have 5 different html files and their corresponding js and css files. When an event is triggered I would like to slide in from the right the next content from the the next html file and the accompanying JS and css files until the user is finished going through the game.
Think of it like the app Duolingo, trigger the correct answer for the question and move on to the next question till the lesson is complete. How should I go about sliding in the other content?