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 trialRichard Srery
640 PointsHow do i... (3)
How do i create a new rule that targets the span element inside .intro. Give the span element a bold font weight and an italic font style?
2 Answers
Julian Gutierrez
19,201 Points.intro span{
font-weight:bold;
font-style:italic;
}
Doug Ray
7,493 PointsFor this you would start with .intro then add the child selector to target all spans that are within the element with id intro like so .intro > span{ (your rules here}. Where in your case your rules would be the font weight and font style. Hope it helps !
Richard Srery
640 Pointsstill don't get it. =(
Richard Srery
640 Pointsdidn't work after the previous comment
Doug Ray
7,493 PointsIf it helps you don't forget to mark as answered and or up vote your fellow students :). Glad you were able to get it !
Richard Srery
640 PointsRichard Srery
640 Pointsthank you just copied it
Julian Gutierrez
19,201 PointsJulian Gutierrez
19,201 PointsNothing wrong with copying but I do urge you to take the time to inspect and analyze the solution to better understand it especially with these fundamental skills. At this beginning stage you are laying out the foundation for your skill set and copying without understanding will do you a real disservice.