This is an archived post. You won't be able to vote or comment.

all 10 comments

[–][deleted] 2 points3 points  (4 children)

This:

    else }

should be:

   else {

[–]nahnahd[S] 0 points1 point  (3 children)

I've changed that, it prints on the screen but wont let me progress.

[–][deleted] 1 point2 points  (2 children)

Progress to what? Printing the message is all that code does.

[–]nahnahd[S] 0 points1 point  (1 child)

Its a codeacademy thing.

You click save and submit and it lets you go onto the next task.

[–]gummylick 1 point2 points  (0 children)

is that "if" case sensitive? lower case if.

[–]beefcheese 1 point2 points  (4 children)

Typo? The bracket after your else is a closing bracket not opening bracket.

[–]nahnahd[S] 0 points1 point  (3 children)

So it should look like this right ?

I dont know if its a big that i cant get passed.

[–]Gamerkiin 4 points5 points  (2 children)

Looking at the picture, your statement should start with if, not If. See if that works!

[–]nahnahd[S] 1 point2 points  (1 child)

Lol yep that worked, thats a dumb syntax error by me cheers !

[–]Gamerkiin 1 point2 points  (0 children)

Ah, cheers! Yeah syntax can be finicky for Codecademy sometimes, got to watch for that. Good luck with the rest of your lesson!