A struggling begginner

Tell us what’s happening: can someone help me on how to make my a element have the anchor text of cat photos .
Describe your issue in detail here.

  **Your code so far**

<h2>CatPhotoApp</h2>
<main>

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

<img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back.">

<p>Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.</p>
<p>Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.</p>
</main>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.41 Safari/537.36

Challenge: Link to External Pages with Anchor Elements

Link to the challenge:

2 Likes

When you want the link to have text, you need to close the src part like this,

<a src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back.">TEXT</a>

Then, replace TEXT with cat photos.

The way to properly implement an a element is:

<a href="link">anchor text</a>

this is how your code looks like:

check that you have all the angle brackets. You have 1 missing. Once you find it, you insert the anchor text between the opening and closing tag. The anchor text in this example is cat photos

help me on here …your number isn’t available

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