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 Creating HTML Content Add Social Media Links

what is wrong this code

<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Girma ayele</title> </head> <body> <header> <a href="index.html"> <h1>Girma Ayele</h1> <h2>Designer</h2> </a> <nav> <ul> <li><a href="index.html">Portfolio</a></li> <li><a href="about.html">About</a></li> <li><a href="contact.html">Contact</a></li> </ul> </nav> </header> <section> <ul> <li> <a href="img/numbers-01-.jpg"> <img src="img/numbers-01.jpg" alt=""> <p> expermentation with kids.</P> </a> </li> <li> <a href="img/numbers-01-.jpg"> <img src="img/numbers-02.jpg" alt=""> <p> expermentation with imaging.</P> </a> </li> <li> <a href="img/numbers-01-.jpg"> <img src="img/numbers-06.jpg" alt=""> <p> expermentation with how ugly negative pictures.</P> </a> </li> </ul> </section> <footer> <a href-"http://facebook.com/ayagirma"><img src="facebood-wrap.png"alt="Facebook Logo"><a/> <a href-"http://tywitter.com/ayagirma"><img src="twitter-wrap.png"alt="Twitter Logo"><a/> <p>Ā© 2013 Girma Ayele.</p> </footer> </body> </html>

John Forbes
John Forbes
10,879 Points

Without know what problems you are encountering, I noticed this block <a href-"http://facebook.com/ayagirma"><img src="facebood-wrap.png"alt="Facebook Logo"><a/> <a href-"http://tywitter.com/ayagirma"><img src="twitter-wrap.png"alt="Twitter Logo"><a/>

after href should have an = sign not a -

Matt Jackman
Matt Jackman
3,575 Points
  1. You're closing your paragraph tags with capital Ps in some instances. (may not result in errors necessarily, but should be fixed)
  2. You're closing your footer anchor tags with incorrectly, resulting in no links.
  3. There appear to be some typos in your links in your footer tags.
  4. facebood-wrap.png (perhaps should be facebook-wrap.png, but without knowing your file name, it is only a guess)
  5. tywitter.com/ayagirma is not valid (guessing you want twitter.com/...)

Hope that get's you some of the way there.

2 Answers

Sebastian Astill
Sebastian Astill
3,629 Points

The footer section?

<footer>
  <a href-"http://facebook.com/ayagirma"><img src="facebood-wrap.png"alt="Facebook Logo"><a/>
  <a href-"http://tywitter.com/ayagirma"><img src="twitter-wrap.png"alt="Twitter Logo"><a/>
  <p>&copy; 2013 Girma Ayele.</p>
</footer>

It's href="" not href-"" and you close a tag like </a> not <a/>. So it should look like

<footer>
  <a href="http://facebook.com/ayagirma"><img src="facebood-wrap.png" alt="Facebook Logo"></a>
  <a href="http://tywitter.com/ayagirma"><img src="twitter-wrap.png" alt="Twitter Logo"></a>
  <p>&copy; 2013 Girma Ayele.</p>
</footer>

There are some other errors, like facebood-wrap.png should be facebook-wrap.png.

I suggest watching these videos again as you need to have these basics understood before moving on. You just need a little more practice.

:)

Line 23, 29, and 35 the paragraph tags need to be lowercase. Line 42, and 43 your anchor tags are backwards at least the forwards slashes are on the opposite side

Happy coding,

'''html

<meta charset="utf-8"> <title>Girma ayele</title>

<header> <a href="index.html"> <h1>Girma Ayele</h1> <h2>Designer</h2> </a> <nav> <ul> <li><a href="index.html">Portfolio</a></li> <li><a href="about.html">About</a></li> <li><a href="contact.html">Contact</a></li> </ul> </nav> </header> <section> <ul> <li> <a href="img/numbers-01-.jpg"> <img src="img/numbers-01.jpg" alt=""> <p> expermentation with kids.</p> </a> </li> <li> <a href="img/numbers-01-.jpg"> <img src="img/numbers-02.jpg" alt=""> <p> expermentation with imaging.</p> </a> </li> <li> <a href="img/numbers-01-.jpg"> <img src="img/numbers-06.jpg" alt=""> <p> expermentation with how ugly negative pictures.</p> </a> </li> </ul> </section> <footer> <a href-"http://facebook.com/ayagirma"><img src="facebood-wrap.png"alt="Facebook Logo"></a> <a href-"http://tywitter.com/ayagirma"><img src="twitter-wrap.png"alt="Twitter Logo"></a> <p>Ā© 2013 Girma Ayele.</p> </footer> '''