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

Help please

Trying to figure out this js. When User click on <a> anchor tag that anchor tag should opens a specific tab. Here my codepen http://codepen.io/davisrousseaudesign/pen/WwdjOG?editors=1010

2 Answers

What line is it you're specifically referring to?

Alex so I have the js in the bottom. When the user click on entraflo link. I want it to open the entraflo tab. Thanks

Just looking at the bottom. at the activaTab function, it doesn't look like you have an event handler on it, which is probably why it doesn't work. I'll take a look at it in more detail when I get home.

Okay thank you