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

HTML How to Make a Website HTML First Use HTML Elements

What is wrong with my code???

I cant figure this out

index.html
<!DOCTYPE html>
<html>
<header>Alex Duty | Bmx Racer</header>
<h1>usabmx.com</h1>
<head>Alex Duty</head
<body></body>
</html>

1 Answer

Evgeniia Mas
Evgeniia Mas
4,452 Points

Hello, Alex. I think there are some problems with your code. You forgot a close tag on line five, head holds special information as title, meta, keywords, links to css and so on, (which doesn't display on page, if you add title -at the top of browser's window ), so you should move this part to line number three. Header and h1 are the parts of body, so you have to place them inside of your body tags. Because of typo and structure mistakes you have nothing to show (body is empty) now on your page (such as name and url as I see).