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 trialmo aly
7,003 Pointsbrowser 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
4 Answers
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
7,003 Pointslol when i post my code it seems to work but not in workspace. it only displays my heading
mo aly
7,003 Pointsi just realised even if i preview its not updating. not sure why
Logan R
22,989 PointsDid 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
1,376 PointsOnly 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> '''
Logan R
22,989 PointsLogan R
22,989 PointsCan 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?