Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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>