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
Ryan Lebold
205 PointsI 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?
Errin E. Johnson
22,458 PointsI 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.
Ryan Lebold
205 PointsIt 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>
Ryan Lebold
205 Points<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>
Ryan Lebold
205 PointsHow do I show console on my mac? I am using an older macbook if that makes a difference.
Errin E. Johnson
22,458 Points
Cmd + Opt + J for the MAC console
also, take a screen shot from you make, see link,
This is an example link
Ryan Lebold
205 PointsFigured 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
Ted Sumner
Courses Plus Student 17,967 PointsThere are no html tags. You need html inside <> at the beginning of your code and /html inside <> at the end.
Ryan Lebold
205 PointsAnd 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.
Ted Sumner
Courses Plus Student 17,967 PointsTed Sumner
Courses Plus Student 17,967 PointsYou have to post the code for an answer.