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 Creating HTML Content Use the Navigation Element

Francis Isberto
PLUS
Francis Isberto
Courses Plus Student 25,343 Points

Help! My <!DOCTYPE html> in my Workspace is not in color font red. Would that affect my preview?

Normally you can preview your name, profession, contact details, about page, etc. whenever you code those html files.

Whenever I preview my Workspace all I can only see is my name in it. I double check the video and copied all that is type there. Need help here please.

5 Answers

Francis Isberto
PLUS
Francis Isberto
Courses Plus Student 25,343 Points

Thanks guys for your support. Problem solved! I just went back to lesson 1 and began from there. I probably lost a code somewhere. Must be careful next time.

Tomy Lim
Tomy Lim
4,571 Points

Greetings,

Can you post the codes so I can see?

Francis Isberto
Francis Isberto
Courses Plus Student 25,343 Points

Hi Tomy, Thanks for the quick reply. Please give me some time to check on this first. I will get back to you if the problem still persist.

Anthony Lucio
Anthony Lucio
20,431 Points

I recently started over and now the preview webpage no longer updates my saved pages correctly. Thank you ahead of time :-) Here is my code and no "doctype" is not in red:

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

Anthony Lucio
Anthony Lucio
20,431 Points

ANSWER FOUND! ISSUE RESOLVED. I refresh preview webpage and that did the trick. However, "doctype" continues to be black text. No other issue to report.

Francis Isberto
PLUS
Francis Isberto
Courses Plus Student 25,343 Points

Hi Anthony, don't mind if your <!DOCTYPE html> is in black color font. I got the same issue but stick with it. You can still work with your Workspaces and get good results.