JSFiddle - React, Tailwind, and code Playground

by Ketan Patel

HTML

<p>1.	Do you have any savings or investments set aside for the future?</p>
  <input type="radio" id="question1yes" name="question1" value="yes">
  <label for="question1yes">Yes</label><br>
  <input type="radio" id="question1no" name="question1" value="no">
  <label for="question1no">No</label><br>
  
<p>2.	Do you have savings in a typical bank account?</p>
  <input type="radio" id="question2yes" name="question2" value="yes">
  <label for="question2yes">Yes</label><br>
  <input type="radio" id="question2no" name="question2" value="no">
  <label for="question2no">No</label><br>
<p>3.	Do you contribute to a Tax-Free Savings Account (TFSA) ?</p>
  <input type="radio" id="question3yes" name="question3" value="yes">
  <label for="question3yes">Yes</label><br>
  <input type="radio" id="question3no" name="question3" value="no">
  <label for="question3no">No</label><br>
<p>4.	Do you contribute to a Registered Retirement Savings Plan (RRSP) ?</p>
  <input type="radio" id="question4yes" name="question4" value="yes">
  <label for="question4yes">Yes</label><br>
  <input type="radio" id="question4no" name="question4" value="no">
  <label for="question4no">No</label><br>
<p>5.	Do you hold any of the following investment products? Select all that apply.</p>
  <input type="radio" id="question5mf" name="question5" value="yes">
  <label for="question5mf">Mutual funds</label><br>
  <input type="radio" id="question5ih" name="question5" value="yes">
  <label for="question5ih">Individually held stocks</label><br>
  <input type="radio" id="question5etf" name="question5" value="yes">
  <label for="question5etf">Exchange-traded funds (ETFs)</label><br>
  <input type="radio" id="question5gics" name="question5" value="yes">
  <label for="question5gics">Term deposits/guaranteed investment certificates (GICs) </label><br>
  <input type="radio" id="question5cogb" name="question5" value="yes">
  <label for="question5cogb">Corporate or government bonds</label><br>
  <input type="radio"...