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

CSS How to Make a Website Adding Pages to a Website Add a New Page

Annette Maza
Annette Maza
1,006 Points

My Profile picture is not showing up and my About page.

`<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Annette Maza|Practice</title> <link rel="stylesheet" href="css/normalize.css"> <link href='http://fonts.googleapis.com/css?family=Changa+One|Open+Sans:400italic,700italic,400,700,800' rel='stylesheet' type='text/css'> <link rel="stylesheet" href="css/main.css"> </head> <body> <header> <a href="index.html" id="logo"> <h1>Annette Maza</h1> <h2>HTML, CSS and Javascrip Student</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 scr="img/netty.jpg" alt="Photograph of Annette" class="Profile-photo"> <h3>Hi, I'm Annette Maza! This is my portfolio in which I have built my very first practice website. When I am not working, I enjoy going to yoga, reading a book, hiking and taking pictures of beautiful scenery. I love drinking tea and eating cake.</h3> <p>If you follow me on twitter, my username is <a href="https://twitter.com/nettymaza">@nettymaza</a></p> </section> <footer> <a href="https://twitter.com/nettymaza"><img src="img/twitter-wrap.png" alt="Twitter Logo" class="social-icon"></a> <a href="https://www.facebook.com/annette.maza.9"><img src="img/facebook-wrap.png" alt="Facebook Logo" class="social-icon"></a> <p>Ā© 2015 Annette Maza</p> </footer> </div> </body> </html>

4 Answers

Julian Aramburu
Julian Aramburu
11,368 Points

Hi Annette! The problem resides in your img attribute src for source :)! You are spelling it wrong:

Your code:

<img scr <----- (src is the right attribute!) ="img/netty.jpg" alt="Photograph of Annette" class="Profile-photo">

Hope it helps you!

Regards,

Annette Maza
Annette Maza
1,006 Points

Thank you for your help Julian, I changed they typo, but it is still not showing. Here is m new core in case you can see something else I'm not catching.

`<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Annette Maza|Practice</title> <link rel="stylesheet" href="css/normalize.css"> <link href='http://fonts.googleapis.com/css?family=Changa+One|Open+Sans:400italic,700italic,400,700,800' rel='stylesheet' type='text/css'> <link rel="stylesheet" href="css/main.css"> </head> <body> <header> <a href="index.html" id="logo"> <h1>Annette Maza</h1> <h2>HTML, CSS and Javascrip Student</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/netty.jpg" alt="Photo of Annette Maza" class="Profile-photo"> <h3>Hi, I'm Annette Maza! This is my portfolio in which I have built my very first practice website. When I am not working, I enjoy going to yoga, reading a book, hiking and taking pictures of beautiful scenery. I love drinking tea and eating cake.</h3> <p>If you'd like to follow me on twitter, my user name is<a href="https://twitter.com/nettymaza">@nettymaza</a>.</p> </section> <footer> <a href="https://twitter.com/nettymaza"><img src="img/twitter-wrap.png" alt="Twitter Logo" class="social-icon"></a> <a href="https://www.facebook.com/annette.maza.9"><img src="img/facebook-wrap.png" alt="Facebook Logo" class="social-icon"></a> <p>Ā© 2015 Annette Maza</p> </footer> </div> </body> </html>

Julian Aramburu
Julian Aramburu
11,368 Points

Some thing I can think of is that your problem comes from the css side... Maybe you are targeting the class .profile-photo but you set your class to Profile-photo and classes are case sensitive...or maybe you didn't set your img width or something like that! Could you add your css file so we can check that?

Annette Maza
Annette Maza
1,006 Points

Julian, I cannot see your full messages. My email is nettymaza@gmail.com. I can't see what you said on the first reply. Only that I spelled src wrong.