Learn HTML by Building a Cat Photo App - Step 12

Tell us what’s happening:
Describe your issue in detail here.
I cannot figure this one out where to put the anchor tags
Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->

<!-- User Editable Region -->

      <p>See more <a  cat photos= https://freecatphotoapp.com ></a> in our gallery.</p>
      <a href="https://freecatphotoapp.com">link to cat pictures</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; rv:109.0) Gecko/20100101 Firefox/116.0

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

Link to the challenge:

you want the words “cat photos” between the <a> tags. That website should be an href, just like how you did it on the anchor tag below this one.

Welcome to the community!
Only the words “cat photos” are to be anchored within the p element statement.

Here is an example on how to do that.

Example: Anchoring red dog in the h1 statement

< h1> The big < opening anchor here> red dog< /closing anchor here> ran after the speedy kitten!< /h1>

As @anon42932716 and @zvogel511 explained, you need to put the words ‘cat photos’ between your opening and closing a tags. Then instead of putting the address you want to link them to between the tags attributes should go in the opening tag of the element. The words ‘cat photos’ are not an address attribute but the actual link you want appearing on the page. The attribute of assigning a link address is called the href attribute and should go in the opening <a> tag with an equal sign followed by the value of your webpage address. Hope this helps.

6 posts were split to a new topic: Learn HTML by Building a Cat Photo App - Step 12

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