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 trialKanaka Lakshmi Prasad Suvarapu
945 Pointsi forgot how to nest the class and the span element inside it. could you please help me with that
how to nest class and the span element inside it.
2 Answers
Max Kutner
7,595 PointsHi!
The syntax should look like this:
.class span {
}
Hope this helps! Max
Scott Peake
17,052 PointsHey there!
While it is a LOAD of information, I find the w3schools.com site to be the best CSS and HTML reference material for me. There is one particular page just for sorting out these situations. (http://www.w3schools.com/cssref/css_selectors.asp)
Keep up the good work!!
Kanaka Lakshmi Prasad Suvarapu
945 PointsKanaka Lakshmi Prasad Suvarapu
945 PointsThank you Mr. Max