I’m confused on stage 12

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

User Agent is: Mozilla/5.0 (iPhone; CPU iPhone OS 15_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.1 Mobile/15E148 Safari/604.1

Challenge: Step 12

Link to the challenge:

You started with this:

      <p>Click here to view more cat photos.</p>
      <a href="https://freecatphotoapp.com">cat photos</a>

You were instructed this:

Turn the words cat photos located inside p element into a link using the same value for the href attribute as the link below the p element. The p element should show the same text in the browser, but the words cat photos should now be a link. Make sure to remove the a element with the text cat photos on the line below the p element.

And you came up with this:

    <p>Click here to view more <a href="https://freecatphotoapp"> <\a></p>
    <a href="https://freecatphotoapp.com">cat photos</a>

Really, if you read the instructions, all you need to do is move that pre-existing anchor at the bottom up inside the p. The anchor that you created is incorrect - the url is wrong, it lacks the inner text, the closing tag is wrong and you’re missing the punctuation after it.

That anchor below it is correct. Just move that up into the p, so it reads as part of that paragraph. And don’t forget the final punctuation.

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