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 Foundations Advanced Selectors Additional Pseudo-Classes

what is the solution for this

http://teamtreehouse.com/library/-additional-pseudoclasses

unable to solve the problem, please let me know the solution

2 Answers

Hi Harsha, The root element is the html element itself. Making the answer:

html { background-color:lightblue; }

James Finn
James Finn
7,055 Points

Jared O'Loughlin almost. The answer they're looking for is the pseudo-class, as follows:

:root{background-color:lightblue;}

Oh 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' !