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

Confused about second part of the assessment.

Hello, here is a snapshot of my code so far: https://w.trhou.se/gant3ples8

I'm confused if I did the declaration of variables correctly. I tried it and it worked in both console and the index.html page, but I want to make sure it makes sense. Does this work?

Mark Casavantes
Mark Casavantes
2,880 Points

Hello Nancy,

I ran your code in jslint.com and it listed 28 warnings. Try using jslint.com to find bugs in your code.

I also use codepen.io to run code I am working on. If you have an error, a small red circle with an exclamation point will appear. Click on that circle and codepen.io will list the line and space the error occurs.

I hope I have been helpful.