Learn HTML by Building a Cat Photo App - Step 11

Tell us what’s happening:
Describe your issue in detail here.
adding link to the cat photos is not working

Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
      <p>See more cat photos in our gallery.</p>

<!-- User Editable Region -->

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

<!-- User Editable Region -->

      <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/109.0.0.0 Safari/537.36

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

Link to the challenge:

please click the reset button which looks like an arrow turning

after that, read this instruction again:

Add the anchor text link to cat pictures to the anchor element. This will become the link’s text.

The anchor text provided here is what you should copy into the link
That means the text should go between the opening and closing tags for the anchor element.
Eg of a valid anchor element to use as inspiration:
<a href="somewhere">Click This!</a>

1 Like

tried it, still giving the same response.

please copy all the code on the page here for us to review it

1 Like

<a href="https://freecatphotoapp.com"></a>
this is what i’ve done so far concerning the link.

1 Like

this code is incorrect
You need to place the text given to you in the step in between the anchor opening and closing tags (this is exactly what I said in my last post as well)

really been trying…
its not working at all

Can you show us what you tried last?

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


tried different types of text none is working

[quote=“hope12, post:9, topic:587878”]
<a href="<a Text https://freecatphotoapp.com"> [/quote]

This is not a valid anchor tag anymore.

Compare that to the tag you started out with:

Please click the reset button (the one that has an arrow turning on it)
This will reset the code so you have a valid anchor element again.

Then type the text that the exercise asked you for (it is in the instructions) or copy and paste the text in between the opening tag and the closing tag.

Here is an example of an anchor tag with some text:

<a href=“somewhere”>this is the text of my link</a>

Thanks a lot
was able to do it

1 Like