Cant get this code to work


#1

if
("jacob".length) === 5;
{
console.log("i finished my first course");
}
else
{
console.log("this is stupid");
}
every time i run it i get an unexpected token syntax error


#2

Have a quick look at what a basic if/else statement looks like. Especially note the locations of ( ) and ;

	if (this condition is true) {
		do this;
	} else {
		do this other thing;
	}

Do you see the problem now?


#3

it wants to be ("jacob".length === 5)
hope this helps :smile: