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 trialMohamed Behary
5,190 PointsCan anyone help me to solve this simple code ?
Challenge task 2 of 5 Add some paragraph text about yourself below the image, inside of the section.
9 Answers
Tyler Nodell
Courses Plus Student 3,238 PointsThe error is right here: <section> <img src="img/gratt.png" alt="profile-photo" class= "profile-photo">******<a>****** <p>This is the paragraph, write your information here.</p> </section>
That's an open anchor tag remove it or close it and it will work properly.
Ivan Koch
22,817 Points<img>
<p>This is the paragraph, write your information here.</p>
```
Mohamed Behary
5,190 PointsThank you for your response .
But i didn't understand what do u mean ?
Ivan Koch
22,817 PointsBelow the <img> tag,
<p> Your information here. </p>
Hope it helps!
Mohamed Behary
5,190 PointsThank you again for your response >>>
I've written this code but the system generated this error message ( It looks like you have a paragraph, but it's not immediately after the image.)
here is my code :
<section>
<img src="img/gratt.png" alt="profile-photo" class= "profile-photo"><a>
<p>This is the paragraph, write your information here.</p>
</section>
Ivan Koch
22,817 Pointsafter your image tag, you have an open anchor TAG, delete that and it will work.
Delete ''' <a> before your paragraph '''
Mohamed Behary
5,190 Pointsit works now , I heartily thank you for your support ,
MUZ140112 Simon Chatikita
4,174 Points<section> <img class="profile-photo" src="img/gratt.png" alt="A photo of Mr Gratt."class="profile-photo"> <h3>About</h3> <p>Hi im Simon chatikita this is my website where i share all the funny things happen in my life at college. Web designing is my second priority my first is playing around with business figures. besides that im a football fan i watch football games when im free.</p> <p>If u wld like to follow me on twitter my user name is <a href="http//twitter.com/simonchatikita">@simonchatikita</a></p> </section>
Tanya Luthera
473 Pointsblah blah blah