Question about creating an Image "Quiz" that determines a result

Hey everyone, I’m trying to figure out how I would make an image quiz like the one found here

This seems to be made in Javascipt, unfortunately I only know HTML & CSSIs there any kind of framework that would facilitate something like this? Also, I was thinking of making a non image type “quiz” where you went through various questions and it gave you your result at the end, any framework for that?

Thanks for any help