Learn HTML by Building a Cat Photo App - Step 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 cat photos.</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 (Linux; Android 11; SM-A115F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Mobile Safari/537.36

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

Link to the challenge:

Looking at the code you shared, it looks like you haven’t done anything yet. I am guessing you just need help understanding what it is asking of you. The challenge states:

In the text of your p element, turn the words cat photos into a link to https://freecatphotoapp.com. When you are done, remove the old anchor tag and text below the paragraph.

Starting this challenge you have a paragraph element that says “Click here to view more cat photos.” followed by a link element that says “cat photos”. It would look something like this:

Click here to view more cat photos. cat photos

The goal is to put the link inside the paragraph element so that you just have one sentence that contains the link. Like this:

Click here to view more cat photos.

You create a link just like you did in the last challenge, but now you are creating the link inside of the paragraph element. Once you do that, you can delete the old link you had created in the previous step.

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