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

General Discussion

No clue how to add my workspace (i.e html, css and javascript) snapshot to ask a question. Took a snapshot but....

Working on loops, arrays and objects video but my challenge output is "skewed". Correct questions are aligned but for some reason the incorrect questions are indented. I am cross-eyed at this point. Would love for someone to review my code.

2 Answers

Camilo Lucero
Camilo Lucero
27,692 Points

While on a workspace you will see three options in the upper-right corner, the first one (camera icon) is the snapshot button. After saving the snapshot, you can open it and use its link to share your snapshot here in the community.

Check the workspaces tutorial if you want to learn how to use better the workspaces.

On line 24 in your buildList function you have an opening tag for ol:

  listHTML += '<ol>';

The result is nesting subsequent lists which is why you see the indentation. Instead you should use a closing tag:

  listHTML += '</ol>';

Thanks Kris, I knew it would be syntax, I think I was just too tired to see it.