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!

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

Abby Klatsky
Abby Klatsky
288 Points

Preview Page showing whole code instead of actual Header

Trying Workspaces for the first time and typed the code Nick explained: <h1>Name Here</h1>

When I saved and clicked preview, it showed me a page that said this:

<h1>Name Here</h1>

instead of:

Name Here

I don't want to resume and not be able to view this properly throughout each video....

Sorry, I'm just a bit confused. Can you please clarify this for me by giving a little bit more information.

Thanks

Abby Klatsky, Whenever you post a question you should always include your code so the community can better assist you in solving your problem.

To nicely format your code like this:

<ul>
  <li> One </li>
  <li> Two </li>
  <li> Three </li>
</ul>

Please click the Markdown Cheatsheet link directly below the text areas or read this for examples

1 Answer

Abby Klatsky
Abby Klatsky
288 Points

Jared Cowan Jorge Felico hopefully this will work this time. Just read up on Markdowns....

I am attempting what seems to be very simple. The first action on the writing HTML video explains how to write my first header (my name) on my workspaces doc. Hopefully this view of the code I wrote will work:

        ```html
        <h1>Abby Klatsky</h1>
        ```

When I attempted to preview my header in workspaces, it did not show just my name. It showed the whole code with the h1 info. It had no formatting and looked like I typed the header in plain type with all the coding attached.