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 Beginning HTML and CSS Follow Along with Workspaces

Alberto Herrera
Alberto Herrera
238 Points

when i put the code <h1>alberto</h1> and click the eye bottom and it show me the same code at the page

i need to know why when i type the code and hit the eye to preview my work it show the same code ?

Hi,

Can you post your code please?

Thanks

-Rich

5 Answers

Your code has to be something like this:

<html>
  <h1>This is the code</h1>
</html>

You did not open and close the html tags.

Leonard Wilson
Leonard Wilson
8,142 Points

Make sure you're saving your changes before viewing them; use Control + S to save if you're on Windows, or Command + S to save on Mac.

Alberto Herrera
Alberto Herrera
238 Points

i click command + s and nothing still showing the code :/

Alberto Herrera
Alberto Herrera
238 Points

i click command + s and nothing still showing the code :/

Alberto Herrera
Alberto Herrera
238 Points

i click command + s and nothing still showing the code :/

Look a the Markdown Cheatsheet below for how to post your code. You probably have an element that was not closed properly, but we cannot tell you what without seeing the code.

Alberto Herrera
Alberto Herrera
238 Points

html<h1>this is the code!</h1>