Comparison Operators


#1

Hi,

I can't get past this exercise. Here is my code:

var hungerLevel=10;

if (hungerLevel > 7){
conole.log('Time to eat!');
} else {
conole.log('Let\'s eat later.');
}

This is a link to the question:

https://www.codecademy.com/en/courses/learn-javascript/lessons/control-flow/exercises/comparison-operators


#2

console.log, not conole.log. You have to add s.


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.