Stuck. Code won't run

let hungerLevel = 7;

if (hungerLevel > 7);

{console.log(‘Time to eat!’)

} else {

console.log(‘We can eat later’)}

I get this error.

} else {
SyntaxError: Unexpected token else

I am very new and I hope I am posting this correctly.

Do you mind formatting the code starting with three (backticks), then the code, then three (backticks) again? Otherwise some of the characters gets modified and it’s tougher to see what’s going on. But you don’t want a semi-colon after the parenthesis of the if conditional evaluation:

if (hungerLevel > 7); // No semi-colon should be here

Thanks for the help.I will try to remember the three back ticks thing.