Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

HTML How to Make a Website HTML First Review: HTML First

The work space doesn't work, no matter what I write, the only thing appeares is "nick pettit" ?

nothing is viewed when I click view, nothing but "nick pettit"

3 Answers

Sergey Podgornyy
Sergey Podgornyy
20,660 Points

Can you provide your code here? By the way, did you named your main page as index.html ?

<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>fayrouz ibrahim | chemical eng</title> </head> <body> <header> <h1>fayrouz</h1> <h2>eng</h2> </header> <section> <p>gallery willgo here</p> </section> <footer> <p>© 2014 fayrouz.</p> </footer> </body> </html>

Yes, I named the file "index.html"

Sergey Podgornyy
Sergey Podgornyy
20,660 Points

Try this code:

<html>
<head>
     <meta charset="utf-8"> 
     <title>Page title</title>
</head>
<body>
   <header>
      <h1>fayrouz</h1>
      <h2>eng</h2>
   </header>
   <section>
      <p>gallery willgo here</p>
   </section>
   <footer>
      <p>&copy; 2014 fayrouz.</p>
   </footer> 
</body>
</html>

Thank you for your help, but it doesn't work too, i don't think it's a code problem though....

it worked, i just wasn't refreshing the page, thank you