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 trialAlexia Green
112 PointsCONFUSED!
i really dont understand what im doing wrong in this challenge
3 Answers
Coco Jackowski
12,914 PointsCan you provide a code sample?
Alexia Green
112 PointsMy Question Is : Create the HTML element that will serve as the document root.
Jeff Busch
19,287 PointsHi Alexia,
Since you are so new to this let's just get you doing.
Jeff
<!DOCTYPE html>
<html>
</html>
Coco Jackowski
12,914 PointsThere is a certain HTML element that is the "root" of the rest of the page. This means that all other elements are children of it. HTML elements have a hierarchy; they are nested within each other.
So, in this example, the <ul>
element is the parent of the <li>
elements, which are its children:
<ul>
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>
<ul>
The "root" HTML element is the one that's farthest up in the hierarchy; that is, all the other elements descend from it. Your challenge in this question is to create that certain element. You can find it by rewatching the video if it's slipped from your memory. Good luck!