Hi everyone, I’m stucked here. Could someone help me? Tnx a lot.
Please post your actual code and a link to the challenge. Thanks.
Please post your actual code instead of a picture
That is the link to the challenge. I cannot see the code that is in your browser by following that link. You need to copy-paste your code into a post.
Ok got it, I’m very sorry.
This is the line
` <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back.">`
The Hint says: our anchor (a
) element should have an opening tag. Opening tags have this syntax: <elementName>
.
I don’t see an anchor tag on that line?
This is the “right” version, but the hint still shows the same message
<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>
I’m not sure what you mean by `right version’? That code does pass for me.
In the previous reply I copied the wrong one, this I mean for right.
However, the challenge doesn’t go on. I’m stucked here since yesterday.
When I put in the correct answer, the challenge passes for me. That code should work fine if you don’t add any extra changes in other code.
I copy the whole code since the start, maybe the mistake is before.
<html>
<body>
<h1>CatPhotoApp</h1>
<main>
<h2>Cat Photos</h2>
<!-- TODO: Add link to cat photos -->
<p>Click here to view more 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>
</main>
</body>
</html>
You changed the content of the p
element, which is confusing the tests
Done it!
Thanks for your help and sorry for my inexperience
No worries, we are here to help
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.