28 Conclusion Part 2


#1

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

Hey guys; trying to get the hang of this lesson; but I keep getting this error message
"Oops, try again. It looks like you didn't log the correct string to the console! Make sure to use exactly the string shown."

I'm not sure what exactly is wrong; could someone explain?

Here's my code

myName = "Marquis";
if (myName.length > 5) {
    console.log("I finished my course!");
}
else {
    console.log("What");
}

#2

Problem with string because should be:

I finished my first course! // missed 'first'

#3

Can't believe I missed that; thank you!


#4

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