there are all chapter images in a folder and have to track user visited all slides in chapter 1 and then comes the quiz slide for chapter 1 and after answering all quiz slide question go to next chapter and so on. in how to do this in JavaScript and java mysql