Same as other Quiz except this one tells the person the right answer.

1. The first president was
Jefferson
Lincoln
Washington
Adams


Below is the code

<html>
<head>
<script>
function popup(answer)
{alert("Sorry\n\nCorrect answer was "+ answer)
}

function popup2()
{alert("Correct\n\nClick OK to continue")
}
</script>
</head>
<body>
1. The first president was<br>
<input type ="radio" name = "button" value ="1" onClick ="popup('C')">Jefferson<br>
<input type ="radio" name = "button" value ="1" onClick ="popup('C')">Lincoln<br>
<input type ="radio" name = "button" value ="1" onClick ="popup2()">Washington<br>
<input type ="radio" name = "button" value ="1" onClick ="popup('C')">Adams<br>

</body>
</html>