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 trialChen Coello
862 PointsBug?
Everybody is saying that when they add the .Lenght to the var quick = Quicklenght = quick; it accepts it, but mine does not. Is it a bug? Please help.
3 Answers
Tim Knight
28,888 PointsI'm guessing you're talking about the first change question that asks you "Update the variable of 'quickLength' on line 18, to assign the length of the string 'quick'."
The code on line 18 is:
var quickLength = quick;
You just want to modify that to use the length method so it should read:
var quickLength = quick.length;
. Ali
9,799 PointsHi There Chen, I am not sure what exactly you require but the length property is used in the following way
var name = "Chen Coello";
console.log(name.length); // outputs 11
hope that helps. cheers
Chen Coello
862 PointsThat does not help at all.
Ari Winokur
Courses Plus Student 6,844 PointsI notice you are spelling Length as Lenght in your question. Is that where your issue is?
Chen Coello
862 PointsChen Coello
862 PointsBut I already tried that. Yes.
Tim Knight
28,888 PointsTim Knight
28,888 PointsThat was the exact answer I just typed into the change and it accepted it successfully. Is that the correct question in the challenge that you're stuck at?