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

0 points
Submitted by mastercreon
about 9 years

I cant seem to solve my syntax error!

Hi, i was trying the last part of the tutorial. Below is my code:

var myPlanet = “Earth”;

if ( myPlanet.length > 6) { console.log (“This is false”); }

else { console.log (“I finished my first course!”); }

But there was syntax error. Please help. Thanks.

Answer 54eae6e251b88798640053dd

0 votes

Permalink

Refresh your browser, the code is fine.

points
Submitted by Neil
about 9 years