Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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,766 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,766 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!