This forum is now read-only. Please use our new forums! Go to forums

0 points
Submitted by Gerard Flores
over 9 years

I can't get getting started 28/28 to work in java script

if

(“My name is Earl”.length >= 4){ console.log(“I finished my first course!”)};// Not sure where to begin? Check the Hint! else { console.log(“I finished my first course!”); }

Answer 53f4c8087c82cae56b000460

0 votes

Permalink

It looks like you have a semicolon after the brace ending your if statement.

if(“My name is Earl”.length >= 4) { console.log(“I finished my first course!”) };

Move it to the end of your console.log.

if(“My name is Earl”.length >= 4) { console.log(“I finished my first course!”); }

points
Submitted by Mike
over 9 years

1 comments

Skyjah Wells over 9 years

it still doesn’t work for me

Answer 53f4de7b52f8634a5400092f

0 votes

Permalink

thanks a bunch

points
Submitted by Gerard Flores
over 9 years