I created a new post for you.
I am looking at your code on line 8 and I don’t see any anchor tags.
The challenge wants you to place the img element inside a set of anchor tags.
It is similar to what you did in step 12 on line 7 where you had to place an anchor element inside the p tags.
You will need to place an opening anchor tag before the img element and a closing anchor tag after the img element.
Hope that helps!
Bro I’ve been trying and trying and trying everytime am not even going to try again u guys need to fix ur app cuz it doesn’t know what it’s saying it says img tag needs to have something but it has that thing and if I put the anchor tag before img element and close anchor tag after it says I need one if I delete the anchor tag on line 7 it says
<a> need to have a opening tag like whattt I give up not being a software engineer again am gonna work at McDonald’s now I quit
If you use the correct code, then the challenge will pass.
The tests need your code to be exactly correct, not just ‘nearly correct’.
Please post your actual code with the anchor elements so we can see what is happening.
I can’t send the image cuz apparently akismet hid my post
Again, please post actual code and not a picture.
Ok sorry my post was being reviewed and I couldn’t send chat also I was gonna send pictures because I tried so many times but it didn’t pass so copying and pasting would be kind of long I wanted to give a more visual and accurate evidence but I can send code no problem
The actual code is better than a picture - I cannot run a picture in the challenge.
<a href="https: // freecatphotoapp.com"›<img src="https://cdn.freecodecamp.org/ curriculum/cat-photo-app/ relaxing-cat.jpq" alt="A cute orange cat lying on its back."</a›
I’ve edited your post 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 (').
You changed your img
src. You must not do this
img has no
You need to have this url exactly match
Ok sorry am on phone and I couldn’t copy and paste everything so I screenshot and copy and paste from there apologies so much going on today😅
There is an Ask For Help button specifically so you don’t need to copy-paste
What do you mean by I “changed my img src” it keeps telling me that when I try too. I have checked over and over but can’t seem to find the problem. Sorry for any inconvenience.
src="..." is not what is was originally. You changed it so it is different.
Tell us what’s happening:
Describe your issue in detail here.
**Your code so far**
<html> <body> <h1>CatPhotoApp</h1> <main> <h2>Cat Photos</h2> <!-- TODO: Add link to cat photos --> <p>Click here to view more <a target="_blank" href="https://freecatphotoapp.com">cat photos</a>.</p> <a href="https://freecatphotosapp.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>
Challenge: Learn HTML by Building a Cat Photo App - Step 14
Link to the challenge:
Hello i tried on a new account maybe something will change but still this and it keeps telling me this:
Do you have a question?
If so, please edit your post to include it in the Tell us what’s happening section.
Learning to describe problems is hard, but it is an important part of learning how to code.
Also, the more information you give us, the more likely we are to be able to help.
You did not put a closing
" at the end of the url.
Also, you have a typo in the url.
This is not the correct way to write a closing tag.
It workeddd thank youuu after so many days and hours of trying and so sweat and tears I was literally having mental breakdowns over this it finally workedd😭 thank youu that was such a tiny but significant mistake