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 JavaScript and the DOM (Retiring) Making Changes to the DOM Styling Elements

The "Tab" button is making a huge space in toggleList.addEventListener('click', () => { });

On line 8 on the 1st column only, when I press tab, it goes way longer than anywhere else (including the 2nd column). How do I fix this? https://teamtreehouse.com/workspaces/41648254#

Cameron Childres
Cameron Childres
11,817 Points

Hey babyoscar, when I try to view your workspace link I get "page not found". It looks like you copied the link directly from your personal workspace which we will not have access to. To share it here you can click the camera icon in the top right to take a "snapshot", which will provide you with a link that we can view.

Okay, the link is https://w.trhou.se/b404ox2fhd

2 Answers

Cameron Childres
Cameron Childres
11,817 Points

Weird, I've never seen that before! I get the same exact behavior when I fork your snapshot.

I can't offer a reason that it's happening but a simple workaround -- just use two spaces in this instance instead of a tab. This shouldn't have any bearing on being able to complete this portion of the course as JavaScript isn't very sensitive to spacing. Alternatively you can use the indent shortcut "ctrl + ]" which seems to be working normally.

I'm sure the Treehouse team would be interested to see this bug, you can shoot them an email at help@teamtreehouse.com.

Okay, thanks.

I have the same issue!