Hi all!
I’m a student, and I’m BRAND NEW to JavaScript, so it’s safe to assume I know only slightly more about this stuff than your grandma ?
For a class final, I’m trying to develop a survey that returns results based on user answers. The survey is four yes/no questions, and based on how users answer those questions, they receive a result I wrote specifically for that yes/no combination.
Example:
Yes, Yes, Yes, Yes – returns result A
Yes, Yes, Yes, No – returns result B
et cetera for every possible combination 1-16
How would I go about building something like this? It would be great if the script also displayed the survey results on the result page, but I could use HTML to do that.
THANK YOU IN ADVANCE FOR YOUR HELP!!