I'm trying to quiz you and would like to get the value of the input radio, which are the answer options. Any tips on how I can do this using javascript only?
<form>
<h3>1. Which tag should used to represent the "header" of a document?</h3>
<ul>
<li><input type="radio" name="q1" value="a">head</li>
<li><input type="radio" name="q1" value="b">header</li>
<li><input type="radio" name="q1" value="c">heading</li>
<li><input type="radio" name="q1" value="d">main</li>
</ul>
<button id="submit">Submit</button>
</form>