Within a table of 25 rows, each row contains an attribute accompanied by an image (represented by a tick symbol) and five radio buttons for rating the attribute from 1 to 5. Upon clicking one of the radio buttons, the hidden image (tick symbol) should become visible.
Here is the HTML code:
<table>
<tr>
<td width="15px"><img id="1ai" src="../PNG Files/Untitled-3.gif" /></td>
<td style="text-align: left" >Course Structure and its relevance</td>
<td width="6%"><input type="radio" name="1a" value="5" id="1a1" /></td>
<td width="6%"><input type="radio" name="1a" value="4" id="1a2" /></td>
<td width="6%"><input type="radio" name="1a" value="3" id="1a3" /></td>
<td width="6%"><input type="radio" name="1a" value="2" id="1a4" /></td>
<td width="6%"><input type="radio" name="1a" value="1" id="1a5" /></td>
</tr>
<tr bgcolor="#FCFFE8">
<td width="15px"><img id="2ai" src="../PNG Files/Untitled-3.gif" /></td>
<td style="text-align: left" >Syllabus and its coverage</td>
<td width="6%"><input type="radio" name="2a" value="5" id="2a1" /></td>
<td width="6%"><input type="radio" name="2a" value="4" id="2a2" /></td>
<td width="6%"><input type="radio" name="2a" value="3" id="2a3" /></td>
<td width="6%"><input type="radio" name="2a" value="2" id="2a4" /></td>
<td width="6%"><input type="radio" name="2a" value="1" id="2a5" /></td>
</tr>
</table>
The images are hidden using CSS. JavaScript will need to determine which radio button is selected in order to reveal the corresponding image.