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

mo aly
mo aly
7,003 Points

browser display

i can't see the results of my code on the browser despite copying whats in the tutorial. and also doctype isn't highlighted

Logan R
Logan R
22,989 Points

Can you please paste in your code?

Try using proper mark-up by adding three ` before and after your code.

Also for the Doctype: what editor are you using? Workspaces?

4 Answers

mo aly
mo aly
7,003 Points

<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title> keemo| Engineer</title> </head> <body> <header> <h1>keemo</h1> <h2>boo!</h2> </header> <section> <p>pics go here</p> </section> <footer> <p>Ā© 2014 keemo.</p> </footer>
</body>
</html>

mo aly
mo aly
7,003 Points

lol when i post my code it seems to work but not in workspace. it only displays my heading

mo aly
mo aly
7,003 Points

i just realised even if i preview its not updating. not sure why

Logan R
Logan R
22,989 Points

Did you make sure you save your code? If you look at the tab where you are writing your code, if there is an orange dot next to the name, that means the changes have not been saved. Press Control + S.

Anton Fagerberg
Anton Fagerberg
1,376 Points

Only displays h1 header, nothing else. '''<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Anton | Entrepreneur </title> </head> <body> <header> <h1>Anton Fagerberg</h1> <h2>Entrepreneur</h2> </header> <section> <p>Gallery goes here</p> </section> <footer> <p>Ā© Anton Fagerberg 2014</p> </footer> </body> </html> '''