Conclusion: Part 2


#1

Hey, I keep getting SyntaxError with this:

if (10 % 3 === 1) {console.log("I finished my first course!")};
else {console.log("Error")};

Help please!


#2

You need just two equal signs "=="


#3

I keep getting the error.
I have tried simpler conditions, such as: 3>2
I get it anyway.


#4

Delete the semi colon after the if {} statement.


#5

It works! Thanks a lot


#6

No problem, like and close thread. :wink: