Stuck on lesson 27 i need helps


#1

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


#2

You seem to have the right answer, what is the problem?


#3

i got it! i just refreshed the page


#4

i do need help with the second part


#5

The if..else in the next lesson passes too. Could you be a little more clear about what the problem is?


#6

sorry once again i wasn't using their instructions correctly thanks for help much appreciated


#7

Lol no prob. Incidentally, when using if..else's, I like to link my else on the same line as the end of my if`:

if (something === somethingElse) {
    doThisThing();
} else {
    doTheOtherThing();
}

Yours works fine, this is just a preference. Keep at it!


#8

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