👇MAIN code 👇
<script>
var score = 0 ;
var answerOne = prompt("What year was Birchfield school started? ");
if (answerOne == "1908") {
alert("Congratulations");
score = score + 1;
document.getElementById("answer").innerHTML = "Congratulations, your score is, " + score;
document.body.style.backgroundColor = "green";
} else{
alert("Sorry that isnt the expected answer.");
}
</script>