Javascript stuck 28


I am stuck on 28 in JavaScript .Below is what i did.

Replace this line with your code. 
if ("9/3===3")
    console.log("I finished my fisrt course!")}
else {console.log("false")}


In quotes this is a string expression, not a comparison expression. Remove the quotes.

Likewise, a booean value is a primitive and does not get quotes.



It shows me “Oops, try again. It looks like you didn’t log the correct string to the console! Make sure to use exactly the string shown.”.What can I do?


Check your spelling. As the message states. be sure to use the exact string given in the instructions.


it worked. Thanks! I didn’t use the exact string.


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