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 Image Gallery Content

Do you know this problem?

Ive coded on a html website and done as him in the video but i cant find the problem so my text under the pictures arent blue as his text.

Screenshots!!! http://gyazo.com/4160dfbfe2af47fd6f4f06bc9ea6af06

The text between the pictures "Should be Blue" http://gyazo.com/94b8e315c1fade6d074afda8844dea1b

Thanks!

6 Answers

You've add the image inside of the list item the structure seems wrong to me i'm not on this course for now but the general html for anchors inside of a link is <li><a href="">Some text</a></li> so you start the list item and add the text in-between the A rather than another paragraph

It's because you put the texts in paragraphs rather than anchor elements

Stone Preston
Stone Preston
42,016 Points

Tunde Adegoroye that might not be it. I think the text exists as a description of the image, not a link to it. the image itself is a link to the image file.

Tunde, in this case the paragraph is supposed to be part of the link which is ok with html5

Stone Preston
Stone Preston
42,016 Points

This seems like a CSS issue, could you post that as well?

I could but do i post it as a discussion too?

Stone Preston
Stone Preston
42,016 Points

id just edit your original post and provide a link to your css just like you did with the other code

I think I finally get it now. The blue Tim is talking about is the default blue text that unvisited anchor text receives.

Styling hasn't been applied yet.

The problem is with your markup. Your closing a tags are incorrect. You have <a/> and it should be </a>.

I think this is causing your paragraph text to not be part of the link and so it doesn't receive that default styling.

Can i solve my problem somehow?

Cause ive tried to change the <a/> too a </a>
Look what happens :/ http://gyazo.com/1472d79f2c7575a68ac2c73175f6fd87

Its very hard when not knowing much about coding yet.

.... :C