A link's text must be placed between the opening and closing tags of an anchor (a) element. For example, <a href="https://www.freecodecamp.org">click here to go

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<Cat Photos/< href="https://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.">
  </main>
</body>
</html>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.5 Safari/605.1.15

Challenge: Step 11

Link to the challenge:

Hi

The instructions tell us that:

A link’s text must be placed between the opening and closing tags of an anchor (a ) element.

An element’s opening tag looks like this:
<element-name>

And its closing tag looks like this:
</element-name>

And text that we want to display on the page goes between those tags.

For example, if we wanted to display the text We love cat photos! in a p element, we would do that like this:
<p>We love cat photos!</p>

Does that help?

2 Likes

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