I know that this is basic JavaScript: when I open it in HTML it asks me the question but then doesn't follow through with the next line of code when I have answered the question. I don't now why this is and I would really appreciate some help.
<html>
<head>hi</head>
<script>if ( confirm("do you want to do the quiz") === true ) {
console.log("good")
}
else
{
console.log("ok")
}
if ( prompt("What is the capital of france?") === "Paris" ) {
Console.log("that is right")
}
else
{
consle.log("unlucky")
}
</script>
</html>
consoletwice. It's lower-case 'c'.console.log()you have to have the browser developer tools open.