answer is : d.
how can i check to see if the answer is correct or not without using a form, but using the alert,prompt, confirm methods. how would i incorporate the if/else statements
<script>
alert("what comes after the letter c in the alphabet?");
prompt("please enter the correct answer");
confirm("are you sure that is correct?");
if(...)
{
alert("that is correct");
}
else
{
alert("that is not correct");
}
</script>
what am i missing or doing incorrectly?
feedback is greatly appreciated


