Step 14 Web Design

Tell us what’s happening:
Ive gotten this far, Im adding the closing tag and it’s telling me there should be only one anchor tag. Im only seeing one. Hoping to get a second set of eyes.

  **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>
    <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back.">
    <a href="https://freecatphotoapp.com" </a>
  </main>
</body>
</html>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36

Challenge: Step 14

Link to the challenge:

Hello @CarbonSurface :grin:

First, there is a closing tag missing for your anchor
<a href=“https://freecatphotoapp.com

Second, what you should do is to wrap the img element with the anchor element like this:

<a href=""><img></a>

It is because you have to turn the img to a link instead of adding a new anchor element.

Hope this helps!

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