Learn Javascript, Comparison Operators, codecademy, Javascript Tutorial

preview_player
Показать описание
In this codeacademy tutorial we go over some comparison operators in Javascript. We go over greater than, less than, greater than or equal to, and less than or equal to. When we use comparison operators, we need two things to compare that will always return a boolean (true or false).
Рекомендации по теме
Комментарии
Автор

Hey man great video. Maybe you can answer a question I have.

I typed LITERALLY every character matching yours for instruction 1, and the code would either give me an error or not allow me to advance at all. Have you heard of an error like this in the past ?

robertcarrero
Автор

i have the same problem
this is my code
var hungerLevel = 5;
if (hungerlevel > 7) {
console.log("Time to eat !");
} else {
console.log('Let\'s eat later.'.);
}

lauti.aragon