Step 42 What's the answer?

It appears to be the simplest of tasks and yet my code is not accepted

My crystal ball is in the shop. :wink:

Could you show the code and provide a link to the challenge?

1 Like

I do not undertand step 14 catphotoapp

hello and welcome back :slight_smile:

you havent shared that step link here!! and neither your attempted code!! perhaps try looking into already asked question for this in forum though search functionality, hope that was helpful, thanks :slight_smile:

Tell us what’s happening:
Describe your issue in detail here.
I seem to have tried every option in step 14

  **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>'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/102.0.5005.63 Safari/537.36

Challenge: Step 14

Link to the challenge:

Hi @mlambertnewman

To make an image a link
You just need to surround it with your anchor tag
e.g

<a href" use the url given"><img src="" alt=""></a>

you need to add this “https://freecatphotoapp.com” within your <a> tag, as a value of ‘href’ property then it should be fine :slight_smile:

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