Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript

Faruk Jaganjac
Faruk Jaganjac
5,148 Points

JS, Code Challenge: Methods; task 1

Hi. Will somebody please help me with this task. task: Update the variable of 'quickLength' on line 18, to assign the length of the string 'quick'.

my input: var quickLength = quick.lenght;

I'm geeting "bummer" saying: "You're missing .lenght!" I've checked the code in my editor and on w3c.org. Everything works fluently there..am I missing something or?

Any help wil be highly appreciated.. Thanks! :)

1 Answer

Hugo Paz
Hugo Paz
15,622 Points

Simple mistake that i made a lot as well, its length not lenght.

Faruk Jaganjac
Faruk Jaganjac
5,148 Points

Thank You Hugo for Your fast reply, "its lenght not lenght", well I'm getting headache...'couse I see no difference. I must be too tired...

Hugo Paz
Hugo Paz
15,622 Points

Look at the spelling, on your code you have quick.LENGHT.....its quick.LENGTH, the word is misspelled.

Faruk Jaganjac
Faruk Jaganjac
5,148 Points

Thank Youuuuuu!! You saved my day!!! I can't believe what was the "bummer!" I feel so stupid!!!!!! O.o I owe You.. Thank Youi very much!