Learn HTML by Building a Cat Photo App - Step 15

Tell us what’s happening:
Describe your issue in detail here.

I really can’t get this step 15 to pass and I don’t know why. No other topic here is helping me out.

Your code so far

      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
      <p>See more <a target="_blank" href="https://freecatphotoapp.com">cat photos</a> in our gallery.</p>

<!-- User Editable Region -->

      <a href="https://freecatphotoapp" target="_blank"> <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg"> alt="A cute orange cat lying on its back."></a>

<!-- User Editable Region -->


Your browser information:

User Agent is: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0

Challenge: Learn HTML by Building a Cat Photo App - Step 15

Link to the challenge:

Check again in your img tag , just focus a little bit

1 Like

Thanks for that, I believe I fixed that but it tells me there is something is wrong with my anchor tags.


Do you mind posting your updated code?

1 Like

I’m sorry, I can’t seem to do that. It won’t let me paste a link.

Anytime you want to post code in the form, then you want to follow the steps

When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (').

1 Like

Or you can simply screenshot, then post.

1 Like
<a href="https://freecatphotoapp" target="_blank"> <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg"> <alt="A cute orange cat lying on its back."></a>

Your alt is an attribute that is part of your img element. To add an attribute you should follow this

<element attribute=“value”>

In your case the img is the element, the alt is the attribute. You just need to replace value with what the directions say

A few have suggested to post a screenshot of your code when you make changes, but please do not post screen shots. Posting your actual code like your last post is the best way to do it

1 Like

Thanks everyone for your help. I seemed to have solved the second part myself. It was a simple typo.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.