I'm stuck in step10

Tell us what’s happening:
You can link to another page with the anchor (a) element. For example, <a href='https://freecodecamp.org'></a> would link to freecodecamp.org.

Add an anchor element after the paragraph that links to https://freecatphotoapp.com. At this point, the link won’t show up in the preview.

  **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>
    <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.5005.63 Safari/537.36

Challenge: Step 10

Link to the challenge:

Hi!

If this is how you write a link

<a href='https://freecodecamp.org'></a>

All you need to do is replace what is between the two quote with the link the lesson ask you to put.

Which is this,
https://freecatphotoapp.com/

You can link to another page with the anchor (a) element. For example, <a href='https://freecodecamp.org'></a> would link to freecodecamp.org.

Add an anchor element after the paragraph that links to https://freecatphotoapp.com. At this point, the link won’t show up in the preview.

What am i supposed to do?

So if this is how you write a link,

<a href='https://freecodecamp.org'></a>

All you need to do is write out the <a href= part and put the link it asks you to use between the two quote marks. Then close it with </a>

Hope that helps!

Also in future please link back to the lesson because it makes it easier to test your code.

And please include any attempts you have made to solve the lesson. If we know what you’ve already tried we can give better advice.

Tell us what’s happening:
Describe your issue in detail here.

what is it asking me to do because i do not understand
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>
    <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.5005.63 Safari/537.36

Challenge: Step 10

Link to the challenge:

Thank you very much EllaGriff

1 Like

just change you anchor element from

<a href="https://freecatphotoapp.org"></a>

to
<a href="https://freecatphotoapp.com"></a>

it will work

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