title: How to Create a Personality Quiz?
body: <p>I'm not much of a coder but I've come up with this example. I'm trying to design a personality quiz for my WordPress website, and I want the quiz to give a user different answers depending on radio-button options they choose.</p>
  
  <p>For example in the question below if a user clicked option A and pressed submit I want something like 'Welcome' to appear, but if a user clicks option B and presses submit I want something like 'Hello!' to appear. This quiz is an example of the type of things I am aiming to do: <a href="http://www.answerbuddy.com/thankful-thanksgiving-quiz" rel="nofollow"><strong>Quiz-Site</strong></a>.</p>
  
  <pre><code>&lt;h3&gt;1. How old are you?&lt;/h3&gt;
  &lt;input type="radio" name="q1" value="A" /&gt; A. 1-50.
  &lt;input type="radio" name="q1" value="B" /&gt; B. 50-100.
  &lt;input class="button" onclick="getResults()" type="submit" value="Submit" /&gt;
  &lt;input type="reset" value="Clear" /&gt;
  </code></pre>