Please Help I am stuck: Javascript


#1



Here is the link to the exercise where i am stuck.
https://www.codecademy.com/courses/getting-started-v2/3/2?curriculum_id=506324b3a7dffd00020bf661


Instructions
Complete the missing bits of code to construct the if / else statement. Make the condition evaluate to true.
Finish the else statement by printing out the string "Error Error Error" to the console.

{
console.log("The answer makes sense!");

}
else
console.log("Error Error Error"!);

`
I am getting the error message,something wrong with my syntax.


#4

You put ! outside quotation marks in console.log("Error Error Error"!);. Put it inside.


#5

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