+ 1

Want to design a personality test and make the questions slide.

I have created a personality test using JavaScript and HTML following a guide. https://www.sololearn.com/compiler-playground/WJ091SORyjV0/?ref=app What I want is that when a user clicks 'next,' the question should slide. Another feature I desire is that when the user submits the quiz, the page should refresh with the results. example: https://drdeenz.com/gender-role-test/

22nd Nov 2023, 6:12 AM
James Mikl
1 Odpowiedź
0
Okay, I used JavaScript from CodePen, and the slide feature is up. I also implemented some code that refreshes the page when the submit button is clicked, but the problem is that it does not show results. Instead, it jumps to the first question. I used sessionStorage, but it gets stuck on the last question.
22nd Nov 2023, 8:28 AM
James Mikl