Stuck on Step 14 Cat Photo App

Step 14

Turn the image into a link by surrounding it with necessary element tags. Use as the anchor’s href attribute value.

I am getting the hint:


Your anchor (a) element should link to You have either omitted the URL or have a typo.

Please help :smiling_face_with_tear:

  **Your code so far**
    <h2>Cat Photos</h2>
    <!-- TODO: Add link to cat photos -->
    <p>Click here to view more <a target="_blank" href="">cat photos</a>.</p>
    <a> href=''<img src="" alt="A cute orange cat lying on its back."></a>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:100.0) Gecko/20100101 Firefox/100.0

Challenge: Step 14

Link to the challenge:

you can compare anchor tags for cat photos and the img, the anchor for img has its its attribute outside its <>

I’m still confused. If I change it to <a(.) href= “”><img src=""alt=“A cute orange cat lying on its back.”

the problem persists… is this what you are referring to?

Just kidding! I was able to solve it with:

<()a href=“”>
<img src=“” alt=“A cute orange cat lying on its back.”()>

Thank you for your help!

*To have it pass you must remove the parenthesis.


It is great that you solved the challenge, but instead of posting your full working solution, it is best to stay focused on answering the original poster’s question(s) and help guide them with hints and suggestions to solve their own issues with the challenge.

We are trying to cut back on the number of spoiler solutions found on the forum and instead focus on helping other campers with their questions and definitely not posting full working solutions.

I asked you above to please not post solutions. Please do not post solutions.

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