Hi,
Your project can be done with HTML, CSS and JavaScript. I would make this test only with front-end tools. Pros: better loading time, you have hidden elements on page, and you show them, depends on what user choose. Cons: you can't have saved routine, because you wouldn't use server, but you didn't mentioned if you would like to have that option. For responsiveness of test, I would use Bootstrap.
If you interested in my proposal, please, contact me.
Best,
Jovana