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

CSS CSS Foundations Selectors Link and User Action Pseudo-Classes

John Adams
John Adams
14,468 Points

Video continuity?

At about 8:00 Guil is demonstrating the focus pseudo class. He uses the element input , and then the screen demonstration shows the links highlighted. When it switches back to the code, it shows the a element.

Did I miss something?

2 Answers

You didn't miss anything. Looks like a video editing error.

The demonstrated behavior (the background becoming yellow as you tab through the links) is for a:focus.

input:focus will make the background of the input elements yellow, when you tab through them.

John Adams
John Adams
14,468 Points

Whew, I prefer that error over me totally missing the instruction, Thanks.