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 trialMichael Angelica
910 PointsText in "section" not showing up
When I try to add paragraph and headline text, it doesn't show up on the page. I have no idea hat I am doing wrong. The html looks correct.
12 Answers
Dustin Matlock
33,856 PointsCould you post your HTML code?
Michael Angelica
910 PointsSure..
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Michael | Designer</title> <link rel="stylesheet" href="css/normalize.css"> <link href='http://fonts.googleapis.com/css?family=Changa+One:400,400italic|Open+Sans:700italic,400,700,800' rel='stylesheet' type='text/css'> <link rel="stylesheet" href="main.css"> </head> <body> <header> <a href="index.html"> <h1>Michael Angelica</h1> <h2>Designer</h2> </a> <nav> <ul> <li><a href="index.html">Portfolio</a></li> <li><a href="about.html" class="selected">About</a></li> <li><a href="contact.html">Contact</a></li> </ul> </nav> </header> <div id="wrapper"> <section> <img src="img/nick.jpg" alt="Photograph of Nick Petit" class="profile-photo"> <h3>About</h3> <p>Hi, my name is Michael Angelica. I am learning to design using html and css!</p> </section> </div> <footer> <a href="http://www.facebook.com"><img src="pics/facebook-wrap.png" alt="Facebook Logo"class=""></a>
<a href="http://www.twitter.com"><img src="pics/twitter-wrap.png" alt="Twitter Logo"></a>
<p>© 2014 Michael Angelica.</p>
</footer>
</body> </html>
Michael Angelica
910 PointsWait i guess i did this wrong
Michael Angelica
910 PointsWait i guess i did this wrong
Dustin Matlock
33,856 PointsYes, your just missing for example, <h1>content</h1>
and <p>content</p>
tags.
Michael Angelica
910 Points...
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Michael | Designer</title> <link rel="stylesheet" href="css/normalize.css"> <link href='http://fonts.googleapis.com/css?family=Changa+One:400,400italic|Open+Sans:700italic,400,700,800' rel='stylesheet' type='text/css'> <link rel="stylesheet" href="main.css"> </head> <body> <header> <a href="index.html"> <h1>Michael Angelica</h1> <h2>Designer</h2> </a> <nav> <ul> <li><a href="index.html">Portfolio</a></li> <li><a href="about.html" class="selected">About</a></li> <li><a href="contact.html">Contact</a></li> </ul> </nav> </header> <div id="wrapper"> <section> <img src="img/nick.jpg" alt="Photograph of Nick Petit" class="profile-photo"> <h3>About</h3> <p>Hi, my name is Michael Angelica. I am learning to design using html and css!</p> </section> </div> <footer> <a href="http://www.facebook.com"><img src="pics/facebook-wrap.png" alt="Facebook Logo"class=""></a>
<a href="http://www.twitter.com"><img src="pics/twitter-wrap.png" alt="Twitter Logo"></a>
<p>© 2014 Michael Angelica.</p>
</footer>
</body> </html>
...
Michael Angelica
910 PointsNo the tags are in there just like the dude explains in the video
Michael Angelica
910 Points<h3>About</h3> <p>Hi, my name is Michael Angelica. I am learning to design using html and css!</p>
Is that how it is supposed to look?
Dustin Matlock
33,856 PointsMichael, this is how you can post the code you have. The back tick is on the top left side of the keyboard next to the 1
key. You need 3 of those.
Michael Angelica
910 Pointsthe tags are not showing up for some reason
Michael Angelica
910 Points<h3>About</h3>
<p>Hi, my name is Michael Angelica. I am learning to design using html and css!</p>
Dustin Matlock
33,856 PointsAre you using the preview function in the editor on Treehouse? If so you might try creating an html file, pasting it in there and opening the file in your web browser. You have it coded correctly. Of course you will need more things to complete a web page but what you have should still show up in a web browser. Perhaps the editor on Treehouse needs to be refreshed.
Michael Angelica
910 PointsThanks Dustin
Michael Angelica
910 PointsYeah i m using preview. I ll give it a try. They have been having bugs perhaps on the site. Everything else shows up fine. Thank you.