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 Basics (2014) Understanding Values and Units Styling the Intro Paragraph

Kanaka Lakshmi Prasad Suvarapu
Kanaka Lakshmi Prasad Suvarapu
945 Points

i 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
Max Kutner
7,595 Points

Hi!

The syntax should look like this:

.class span {

}

Hope this helps! Max

Hey 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!!