Comparison Operators( can't figure out whats wrong)

<PLEASE USE THIS TEMPLATE TO HELP YOU CREATE A GREAT POST!>

<Below this line, add a link to the EXACT exercise that you are stuck at.>
https://www.codecademy.com/courses/learn-javascript/lessons/control-flow/exercises/comparison-operators?action=lesson_resume

<Below this line, in what way does your code behave incorrectly? Include ALL error messages.>

```

var hungerLevel = 5;
if (hungerLevel > 7) {
console.log(‘Time to eat!’);
} else {
console.log(‘Let’s eat later’);
}

<do not remove the three backticks above>

Unable to help on this one. CC has trashed my code from the earlier completion.

I can only guess that this is the condition to satisfy…

Now set the hungerLevel variable equal to 10 and run your code again.

What error message you have?

I FINALLY GOT IT TO WORK!!! thank you for trying to help me

1 Like