Javascript help, 28. Conclusion: Part 2


I cant get it to work, the error message I get tis following;
Oops, try again. There was a problem with your syntax.
Any suggestions?

if ("Habibie" > 5)
{ console.log("I finished my first course!"));
else {
    console.log("Try again");


You have one too many closing parenthesis. :slight_smile:


Thank you for answering so fast! I did as you said, but I got the error Oops, try again. It looks like you didn't log the correct string to the console! Make sure to use exactly the string shown.


Here is a basic outline I think you should follow to fix your problem :smiley:

 if (whatever)
else (whatever)


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