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 trialEvan Lance
1,499 PointsThe top-most element in an HTML document is the ____ element. We're able to target that element with the ___ (stumped)
The top-most element in an HTML document is the _____ element. We're able to target that element with the _____ pseudo-class.
Okay, I'm stumped here. for the first blank I've tried; root, first, base, top and for the second blank, I'm sure that that is :root.
I have no idea what it wants from me.
2 Answers
Sergey Podgornyy
20,660 PointsThe top-most element in an HTML document is the html
element. We're able to target that element with the :root
pseudo-class.
Evan Lance
1,499 PointsFigured it out, thanks for looking. It wanted "HTML" which should have been obvious by the "element" keyword in the question.
Evan Lance
1,499 PointsEvan Lance
1,499 PointsThank you for your answer, but alas I figured it out moments after posting.
Mauricio Hernandez
7,208 PointsMauricio Hernandez
7,208 PointsThank you, have a blessed day.