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 Advanced Selectors UI Element States Pseudo-Classes

What does "UI" mean when used in a sentence like, "UI Element States Pseudo-Classes"

Stuck on a definition. "UI" element states pseudo-classes target elements based on certain user interactive states". I can't seem to find it in the teacher's notes or the glossary of a book on writing HTML.

Thanks for your help

3 Answers

UI typically refers to user interface, which regards anything the user can see or interact with. Simplified, an element is just something on the page: a submit button, a link, etc. Not really something to get hung up on.

David Service
David Service
12,928 Points

Hi Steven,

I believe it means "user interaction".

These element states describe a user-state of an input field (i.e. a targeted input or a non-targeted input, a checked box or radio button) when it's being actively or passively interacted with (i.e. when filling out a form).

thank you both