JSFiddle - React, Tailwind, and code Playground
HTML
<table>
<tr>
<td>
<figures1></figures1>
</td>
<td class="questiona">
<br />
<input type="radio" name="q1" value="a"/>a<br />
<input type="radio" name="q1" value="b"/>b<br />
<input type="radio" name="q1" value="c"/>c<br />
<input type="radio" name="q1" value="d"/>d<br />
</td>
</tr>
</table>
JavaScript
$(function(){
$("[name=q1]").click(function(){
var val = $(this).val();
// Make the real check for correct answer here...
if(val == "a")
{
alert("CORRECT");
}
else
{
alert("Please try again");
}
})
})