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 Create the Content Containers

Why is my preview not updating? I entered the code in W.S while watching video.

<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Araceli Andrade | Designer</title> </head> <body> <header> <h1>Araceli Andrade</h1> <h2>Designer</h2> </header> <section> <p>Gallery will go here.</p> </section> <footer> <p>Ā© 2015 Araceli Andrade.</p> </footer> </body> </html>

2 Answers

David Service
David Service
12,928 Points

Hi Araceli,

In addition to what Julian was saying about saving your work and then refreshing your workspace to see the results, I've noticed that you're missing the necessary HTML and BODY tags necessary for your webpage to work.

The opening HTML tag should be placed immediately after the <!DOCTYPE html> tag, while the closing HTML tag should be at the very bottom of your file.

The BODY tag should be just underneath where your header ends, and the closing BODY tag should be placed just before your footer begins.

These different "container" elements help your web browser to make sense of which part of the webpage is which.

Hope this helps. :)

Thank you, yes i forgot to follow up my <!DOCTYPE>

Julian Aramburu
Julian Aramburu
11,368 Points

Did you refresh the preview? Browsers don't have live preview so everytime you make a change (did you save your changes?) you must refresh your browser in order to see those changes :).