Simple Program

Hi everyone,

Below you will find a simple program I’m trying to create. I’m not entirely sure what’s wrong. Any help would be appreciated.

var height = 60;
var heightRestriction = 55;
if (height > heightRestriction) {
return ‘You are tall enough to ride’;
} else {
return ‘You are not tall enough to ride’;


The word “wrong” might be the problem.
Replace that with descriptions of what you want to happen and what is currently happening. Consider the difference. That difference is the change you need to make.