Spacefem's Quiz Tutorials: JavaScript Type Quizzes
This tutorial will show you how to make a "What type of ___ are you?" sort of quiz using only HTML and Javascript, which every web host in the world lets you use, so it's really simple. The files will even work on your own computer. A "type" quiz asks users questions and then determines which type or thing they are, not how much of something they have... that's a points-based quiz, and I have a tutorial for that over here. Here we go...

Text in blue is stuff you can/should change.
Part 1: Setting up the page
If you haven't already, set up your basic HTML page. It should look something like this:

The first line is the question itself, with <b> and </b> tags around it to make it bold. They're optional, of course.
The rest of it is the form tags to set up Radio buttons... those are little circles that only allow one to be picked at
a time. The VALUE="*" numbers will depend on what the answer is linked to... each on of your "type" answers will have
a number associated with it. The NAME="a" value has to change
for every question. It's easiest to just put these in alphabetical order, so for the next question, make them all "b"
like this:

I've chosen different colors as the "types" for my quiz. Basically, all the values start at zero, and each time a question is chosen that
works for that color the quiz will add a point to it. At the end, the quiz assumes that the answer will be Blue, and goes through and looks
to see if there are other answers with more points that blue. If there are, the new answer gets substituted as the answer and checked against
the next ones.

Try to order your "if" statements so that the least common result is first. It's tricky, but you have to pay attention.
To keep this whole tutorial simple, I'm not going to explain what anything there is. Just don't break it when you go to
change your stuff. The "Total" numbers will send the person to the site you specify if their total is less than the number, so they go from smallest to largest.
Part 5: The Question Loops
Okay, for each question you made, you now have to tell the browser how to figure out the score. It's basically going to
look at each answer in each question to see if it's checked or not, and if it is it'll add it to your score.

Again, for each question you'll have to customize the loop. the "form.a" parts (make sure you get all three of them!) need
to be "form.b", "form.c", etc. The "count<4" has to change depending on how many answer choices you have.
This part goes into the header space, where the "<!--This is where the question loops go-->" line is.

Part 6: There we go!
So basically, this is what our whole page looks like: