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 trialAdrian Montague
230 PointsWhen I type my code in the workspace it isn't translating when I go to view how the code looks on a web page. Glitch?
All it says is "Nick Pettit". I have also saved my work in the workspace too.
5 Answers
Nathan Elliott
16,232 PointsNo prob! You will definitely get used to it with time. I like to think of it like the structure of writing a paper. The only difference is that you have to explicitly tell the browser which part is the title, a paragraph, etc in html. The structure is very similar.
One trick to help speed up learning about html tags that many teachers suggest is to go to some of your favorite webpages, where you really like the layout, and right click on the page and select "inspect element." You will be able to see which tags the developer used for different sections of the page.
jase richards
10,379 PointsWe'd have to see your coding Adrian, there maybe the smallest of details you are missing.
Adrian Montague
230 PointsHi Jason! Thanks for the quick reply. Here's my code!
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Adrian Montague | Flint SOUP</title> </head> <body> <header> <h1>Adrian Montague</h1> <h2>Lead Nerd</h2> </header> <section> <p>Gallery will go here.</p> </section> <footer> <p>Ā© 2014 Adrian Montague.</p> </footer> </body> </html>
Nathan Elliott
16,232 PointsHi Adrian. You are just missing some tags for your code. Were you able to check out the "How to Make a Website" tutorial yet? Watching or re-watching it should get you all straightened out.
You will want to organize the information you have listed above in tags that will display the content the way you prefer. Example: putting in a head tag with a title tag nested inside with "Adrian Montague" will list your name in your browser tab near the top of the screen. If you would like to have "Gallery will go here" show on the webpage, you will want to put it inside a section tag (or some other type of tag) nested inside the body tag. You will likely want your copyright information inside a footer tag nested inside the body tag to have it displayed near the bottom of the page.
Adrian Montague
230 PointsHi Nathan! Thanks for your feedback! I will defintely re-watch the tutorial. It's a lot to absorb when everything is so new but I'm looking forward to becoming proficient in the near future! So many tags :) I'll give it another shot and get things straightened out. Thanks again, Treehouse friend!
jase richards
10,379 PointsOkay, I can see it. I'm not sure why you aren't getting it updated, Nick Petit isn't even anywhere in your coding. Have you saved ctrl+s your file before preview? Also refreshing the preview page may help.
Adrian Montague
230 PointsYeah I did both of those things. Now the title is showing up but the Nick Pettit is still on the webpage. Weird. Maybe it is a glitch after all. Hopefully it will bounce back sometime soon or I might have to get with support. Thanks so much for your help Jason and taking the time to answer my questions! :) So grateful!