Page not responding when I type my answer


#1


https://www.codecademy.com/courses/getting-started-v2/2/4?curriculum_id=506324b3a7dffd00020bf661


Everytme I click "Save and Submit Code", the page will stop responding and I'm forced to make a new tab. I was not having any problems before this started...


if ("myName".length >= 35) 
{
    console.log("Let's go down the first road!");
}
else ("myName".length <= 10)
{
    // What should we do if the condition is false? Fill in here:
    console.log("Halt, there!")
}.


#2

else is a default branch with no conditional expression. Remove or set it to,

else if ( ... )

#3

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