//create secrety number

var secretNumber = 4;

//ask user

var guess = Number(prompt("Guess a number");


//check if guess is right
if(guess === secretNumber){
	alert("Correct!");
}
else if guess > secretNumber){
	alert("Too high")
}
else{
	alert("Too low!")
}
