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 trialharsha praneeth
5,449 Pointswhat is the solution for this
http://teamtreehouse.com/library/-additional-pseudoclasses
unable to solve the problem, please let me know the solution
2 Answers
Jared O'Loughlin
1,067 PointsHi Harsha,
The root element is the html
element itself. Making the answer:
html { background-color:lightblue; }
James Finn
7,055 PointsJared O'Loughlin almost. The answer they're looking for is the pseudo-class, as follows:
:root{background-color:lightblue;}
Jared O'Loughlin
1,067 PointsOh woops, is it? I guess that sounds about right - the <html> tag isn't a psuedo class! I hadn't actually worked through the particular module, i just happened to see the question on the Forum. And my answer got a 'correct' !