{"size": 289, "ext": "js", "max_stars_repo_path": "basic-js/guessing-game.js", "max_stars_repo_name": "kingamagyar/front-end-practice", "max_stars_repo_stars_event_min_datetime": "2018-01-15T08:22:14.000Z", "max_stars_repo_stars_event_max_datetime": "2018-01-15T08:22:14.000Z", "max_issues_repo_path": "basic-js/guessing-game.js", "max_issues_repo_name": "kingamagyar/front-end-practice", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "basic-js/guessing-game.js", "max_forks_repo_name": "kingamagyar/front-end-practice", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 22.2307692308, "max_line_length": 44, "alphanum_fraction": 0.660899654}
var secretNumber = 4;

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


if (guess === secretNumber) {
	alert("Congrats, you got it right!");
} else if (guess > secretNumber) {
	alert("Too high, guess again.");
} else {
	alert("It's too low, guess again.");
}