Conclusion: Part 2


Hey, I keep getting SyntaxError with this:

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

Help please!


You need just two equal signs "=="


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


Delete the semi colon after the if {} statement.


It works! Thanks a lot


No problem, like and close thread. :wink: