I am stocked at 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 <a href="cat photos"></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 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36

Challenge: Step 12

Link to the challenge:

Two things:

  • The URL for the href is not quite correct. You want to use the same value as the link that was originally below the p element.
  • You removed the words “cat photos” from the link itself. The link should wrap those words.

Welcome back Timtok
As for your question ;

You were asked to nest your anchor tag inside your

element cat photos

i.e

Remove the original anchor tag that’s is there before and nest it inside cat photos in the p element
With the same href="’

e.g

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

Note: one anchor tag ,
Same URL. It doesn’t need to change unlike what you did

So it should help :smiley:

1 Like