21 need a little help


#1

https://www.codecademy.com/courses/getting-started-v2/3/4?curriculum_id=506324b3a7dffd00020bf661#

//An example of an if/else statement with modulo in the condition

this is what i put for my code

if("10%2===0") {
    console.log("5)"));
} else {
    console.log("The first number is odd");
}

#2

This shouldn't be in quotes
so:

if(10 % 2 === 0) {

I don't understand this bit what's going on here, CC is asking you to console.log The first number is even

so:

console.log("The first number is even");

Comparisons don't go in quotes.. Comparisons explained !
Numbers after integers and don't go in quotes.


#3

I keep getting this
Oops, try again. You have to use the modulo (%) operator to continue!


#4

Paste in your updated code


#5

if("true") {
(console.log("The first number is even"));
} else {
console.log("The first number is odd");
}


#6

Read my answer again slowly and properly I said not to put quotes around the comparison, you don't need to change the comparison


#7

oh.... hahah wow
i see what it saying now


#9