Learn HTML by Building a Cat Photo App - Step 14

Tell us what’s happening:
Describe your issue in detail here.
learn html by building a cat photo app step 14
am failing to convert the cat image into a link

  **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://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>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.5112.102 Safari/537.36 OPR/90.0.4480.54

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

Link to the challenge:

you seem to have added spaces to the code in unexpected places (such as in the src attribute’s value)

I suggest you click on Restart Step
then copy the anchor element only (do not copy the broken code in the middle) from here or just re-write it without modifying the img in any way.

1 Like

you should write the p element on line and in the next line write the link line like this
[Mod Edit: Solution Removed]

hello there,

it is great that you want to help the original poster but please do not break the rules of the forum by posting solutions to fCC challenges.

Your post has been edited to remove the screen shot.

thank you for your understanding.

i am sorry for that this my first time i heard about that
pls accept my apology

1 Like

No worries friend. You are being helpful (I have seen you helping before).
So long as you don’t share the code solution, all is good.

1 Like

help my code appears to be right but its not accepted not sure why

If you have a question about a specific challenge as it relates to your written code for that challenge, and you’ve tried to solve it at least 3 times so far and still need some help, just click the Ask for Help button located on the challenge (it looks like a question mark).
This button will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.

Thank you.