Learn HTML by Building a Cat Photo App - Step 14

Tell us what’s happening:

Describe your issue in detail here.
don’t really understand the word nested anchor and i don’t know how to solve the step 14

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 href="https://freecatphotoapp.com"><a> cat photos</a> in our gallery.</p>

<!-- 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/122.0.0.0 Safari/537.36

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 14

You appear to have created this post without editing the template. Please edit your post to Tell us what’s happening in your own words.
Learning to describe problems is hard, but it is an important part of learning how to code.
Also, the more you say, the more we can help!

You have an unnecessary anchor tag right after your href attribute. Try removing it. Remember, you’ve already put the starting anchor tag after your “See more” text.

i don’t really know what target attribute or anchor is, so it becomes difficult to solve

The anchor tag is this tag: <a>

and the target attribute is like any HTML attribute, it is placed in the opening tag of the element.

The target attribute when set to _blank it will open the link specified in the href attribute in a new tab instead of the same tab opened.

And you know that when you open a new tag, you have to close it using the slash / at the closing tag, but it seems that you add a new <a> by mistake in between your opening and closing tags of the anchor element.

And make sure you remove the spaces between your cat photos text and the tags.

Hello @jubbylannox

Sometimes the root of the issue is the lack of familiarity with the terminology being used. Perhaps this diagram shows what an attribute is:

+--------------- Element -------------+
|                                     |
+--- Start tag --+         End tag +--+
|                |                 |  |
<p class="saying">live and let live</p>
   |    ||       ||                |
   |    ||       |+-----Content----+
   |    |+-------+
   |    |Attribute
   +----+  Value
 Attribute
    Name

Now, an anchor is something that people like to call the <a></a> tags.

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