I wan't to make it say Correct if the user types in Harrisburg, and Incorrect if the user types in something else
I think I am doing it wrong, because it keeps saying Incorrect.
prompt('What is the capitol of Pennsylvania?');
if(prompt === "Harrisburg"){
confirm('You got it right!');
}
else{
confirm('Sorry, this is incorrect.');
}