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
How to write two classes?
When one needs to write two or more classes one after the other, can it be done under one line or does it need to be separated in two or more lines? this is in regards css grid system quiz...Also in that case can that <div class> be closed under one single</div>?
Tom Bedford15,645 Points
I'm a bit confused by what you mean with the lines/separation.You can add all the classes you need inside one set of quote marks with a space between each.
<p class="one two">This paragraph has two classes, "one" and "two".</p>
Hope this helps!
Salmen Bejaoui8,017 Points
you put one or more classes in one single line , example class="first_class second_class third_class .....
Thanks for the tip I was able to get through