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

JavaScript Treehouse Club - MASH MASH - HTML Thinking With Your Head

i need help

The <head> element is used to specify information about the page. Below, however, you'll find several elements that DO NOT belong in the head of an HTML document. DELETE everything that should not be in the <head> element. (If you need a hint, please look at the teacher's notes for what is allowed in your <head>.)

<head> <!DOCTYPE> <meta charset="utf-8"> <title>Futuristic MASH</title> <h1>Futuristic MASH</h1> <link href="style.css" rel="stylesheet"> <p> Directions to play the game: </p> </head>

index.html
  <!DOCTYPE> 
<head>
  <meta charset="utf-8">
  <title>Futuristic MASH</title>
  <h1>Futuristic MASH</h1>
  <link href="style.css" rel="stylesheet">
  <p> Directions to play the game: </p>
</head>

2 Answers

The head tag is a where the majority of general information about the webpage is placed, things such as external files (css, javascript) are linked and information that will help the web browser. If you want something to show up on your page (in the web browser window) will need to be placed in the body of the html page. Things like the h1 tag or p tag are all things that should be placed in the body and not the head. I hope that helps.

Thanks I got it

john McGee
john McGee
2,010 Points

i'm stuck on this challenge as well