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

Jennifer Wise
Jennifer Wise
17,126 Points

JavaScript Arrarys Creating Arrays

I for the life of me can not figure out what they are asking of me in the following question:

Set the 'guides' that has placeholders for 42 elements but has no values stored in it.

Everything i have tried has not worked!!!

Could someone please help!

Thanks!

5 Answers

Check out the "Creating Arrays" video at around 6:41 and he goes over how to accomplish it :) Let me know if you still have problems!

capitalize the a on array, thats what was stomping me

Me too Matthew. Javascript is very case sensitive .

Jennifer Wise
Jennifer Wise
17,126 Points

Hi,

You need to watch the video from 6:41 to 6:43. He will show you what you need to input in the code.

var guides= new Array (42);

Thank you it finally made sense.

Hey Jennifer, I got stuck at the same problem and I can't figure it out. (Even after watching that video suggested by Karen) How did you solve it and what's the answer?.. I am so anxious. Thanks!