Class Selectors8:59 with Anwar Montasir
Similar to ID selectors, class selectors let us target elements based on their class attribute. The main difference between a class and an ID selector is that IDs are unique and they’re used to identify just one element on the page, whereas a class can be used to classify and target more than one element. This makes classes more flexible than IDs. Let's see how they work.
You need to sign up for Treehouse in order to download course files.Sign up