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 Grouping and Modifying Selectors

Bob Sutherton
Bob Sutherton
20,160 Points

Multiple classes?

Did Guil give those HTML elements multiple classes? I was thinking they could only have one class.

2 Answers

Tom Bedford
Tom Bedford
15,645 Points

Have as many classes as you like, separate them with a space.

Only ever have one ID.

Bob Sutherton
Bob Sutherton
20,160 Points

Thanks Tom. That is good to know.