# 13. Comparisons

So here is my code:

But as you can see I keep getting an error message and I’m super confused. Anyone mind helping?

Hey @stetim94 can you help meeeee?

Why do you specifically ask for me?

Let’s do a example, see this line:

``````console.log("Xiao Hui".length 7);
``````

Now between length and 7 you need to add a comparison operator (`<=`, `>=`, `!==` or `===`) to make the statement true, just like you in line 7 with `console.log(8*2===16);`

1 Like

Ohhh I see. Okay. Hmm. Oh and because you were on a bit ago… and you know what you’re talking about.

Can you help with a similar problem? I had completed the code by it keep telling me there is a syntax error.

// Here is an example of using the greater than (>) operator.
console.log(15 > 4); // 15 > 4 evaluates to true, so true is printed.

// Fill in with >, <, === so that the following print out true:
console.log(“Xiao Hui”.length 122);
console.log(“Goody Donaldson”.length 8);
console.log(8*2 16);

console.log(“Xiao Hui”.length < 122);
console.log(“Goody Donaldson”.length >8);
console.log(8*2 ===6);

8*2 equals 16, not six. Only thing i can find which seems off. Seems you overwrote the one with a equal sign.

Do you have any other suggestion on what wrong with the syntax? I work the problem again and still the the error. Thanks for the help.

// Here is an example of using the greater than (>) operator.
console.log(15 > 4); // 15 > 4 evaluates to true, so true is printed.

// Fill in with >, <, === so that the following print out true:
console.log(“Xiao Hui”.length 122);
console.log(“Goody Donaldson”.length 8);
console.log(8*2 16);

console.log(“Xiao Hui”.length < 122);
console.log(“Goody Donaldson”.length > 8);
console.log(8*2 === 16);

you left this:

``````console.log("Xiao Hui".length  122);
console.log("Goody Donaldson".length  8);
console.log(8*2  16);
``````

inside the exercise? that will trigger an error

1 Like

hola alguien me ayuda no reconoce Verdana
h1{
font:Verdana;
color: #576D94;
p{
font-size: 18px;
color:#4A4943;
}c

this is off-topic, anyway, the property you look for is font-family, not just font

1 Like

// Here is an example of using the greater than (>) operator.
console.log(15 > 4); // 15 > 4 evaluates to true, so true is printed.

// Fill in with >, <, === so that the following print out true:
console.log(125 > 122);
console.log(5 < 8);
console.log(8*2 === 16);