Learn HTML by Building a Cat Photo App - Step 15

my code does not pass, the hint says You should only add one opening anchor (a ) tag. Please remove any extras.

but i already remove extras, pls help

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

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

this is the link

hi , welcome to the forum.

I’ve edited your code for readability. 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 (').

Please add the link to the current challenge to your post so that we can try your code there.

60?!?

1 Like

Hello, according to your code I do not see where you close the label<a>, I also do not see that you are assigning it to anything, however a capture to your code will allow us to help you, thanks

oh, srry, anyways it works with the 60


this?

You have to close the anchor tag at the end of your code, this lets you know the tag where it ends </a>

Please post your actual code instead of a picture. Thanks

1 Like

hello, please use English if you are going to post into the english sub-forum.
If you prefer to use a different language, you can move this topic to the appropriate sub-forum.

It is hard for english learners to review topics that are not in their language. So I believe it best to keep things in this forum in English.

please translate this post to english as this is an english sub-forum. (we may have to edit the post if it is not understandable to us)

1 Like

oh sorry, this is my code

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

looks like you are missing the > at the end of the image element :point_up_2:t4:?
Also I didn’t see the step asking for a target attribute, so I would remove that next if you cannot pass the test.

i fix it, i remove the (a) from the first line and submit, i think its a bug

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

did the exercise ask for this?

test your code and that’s fine, I would advise you to restart the test and replace only the part of code that asks you, check details.

Hello, “60” is the problem. You May removed it and try again

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