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

I completed my first coding for build a website. When I hit the preview button I only see my code No webpage

I completed the first part of coding for building a website. When I hit preview I just see my code again on a different page and slightly different format. What am I doing wrong?

You have to post the code for an answer.

I agree post the code, but it does sound like a syntax error. Also, check out console on web page, it will show you the errors. If windows. Ctl Shift J and view console.

It seems the code I am posting is not all showing up here. Im a complete newby. I copied and pasted all my code and only part is showing up here. Urghh. code: <DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Ryan Lebold | Designer</title> </head> <body> <header> <h1>RyanLebold</h1> <h2>Designer</h2> </header> <section> <p>Gallery will go here.</p> </section> <footer> <p>© 2015 Ryan Lebold</p> </footer> </body> </html>

<DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Ryan Lebold | Designer</title> </head> <body> <header> <h1>RyanLebold</h1> <h2>Designer</h2> </header> <section> <p>Gallery will go here.</p> </section> <footer> <p>© 2015 Ryan Lebold.</p> </footer> </body> </html>

How do I show console on my mac? I am using an older macbook if that makes a difference.

Cmd + Opt + J for the MAC console also, take a screen shot from you make, see link, This is an example link

Figured it out. There was some type of workspace update that finally popped up in a window. As soon as I clicked that and then preview it was all better. Thanks for the quick responses.

2 Answers

There are no html tags. You need html inside <> at the beginning of your code and /html inside <> at the end.

And when I copied and pasted, like I said all my code was not showing here. Very weird. I had the html tags they just were not showing on this forum.