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 Adding Pages to a Website Add a New Page

Text 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

Could you post your HTML code?

Sure..

<!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>&copy; 2014 Michael Angelica.</p>
</footer>

</body> </html>

Wait i guess i did this wrong

Wait i guess i did this wrong

Yes, your just missing for example, <h1>content</h1> and <p>content</p> tags.

...

<!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>&copy; 2014 Michael Angelica.</p>
</footer>

</body> </html>

...

No the tags are in there just like the dude explains in the video

<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?

Michael, 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.

Posting Code on the Treehouse Forum

the tags are not showing up for some reason

<h3>About</h3>
      <p>Hi, my name is Michael Angelica. I am learning to design using html and css!</p>

Are 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.

Thanks Dustin

Yeah 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.