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

JavaScript Introduction to Programming Basics Writing Your Program

My html code wont show up on my site.

I am using workspace for my site but when i put in the DOCOTYPE html and all the codes he puts in when i view in google chrome it just shows a blank white page. html is web-2s5kdojwf7.treehouse-app.com doesn't say introduction to programming like its supposed to

3 Answers

Syed Rahman
Syed Rahman
2,609 Points

it is <!DOCTYPE html> make sure you get that exclamation mark. Copy and paste your code here. I will see if i can help you out.

<!DOCTYPE html>
<html lang="en">
  <head>
    <title> Introduction to Programming</title>
    <style>
      html {
        background: #FAFAFA;
        font-family: sans-serif;
      }
      </style>
    </head>
  <body>
    <h1>Introduction to Programming</h1>
    <h2>with JavaScript</h2>
    </body>
  </html>

I don't know how to post it like I type it.

To type code, the Markdown Cheatsheet states:

Wrap your code with 3 backticks (```) on the line before and after. If you specify the language after the first set of backticks, that'll help us with syntax highlighting.

You can reference it in the link just below the text box where you enter your comment.