Learn HTML by Building a Cat Photo App - Step 12

It keeps saying the href value has a typo or something is omitted but i cant seem to find it. See asterisk (***)

Your code so f

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

<!-- User Editable Region -->

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

Hello!
Seems like you opened the <a> element 2 times. Look right before your “See more” text, you have an opened <a> tag with nothing in it :slight_smile:

1 Like

i removed it and it said " After nesting the anchor (a) element, the only p element content visible in the browser should be See more cat photos in our gallery. Double check the text, spacing, or punctuation of both the p and nested anchor element."

1 Like

Could you please show me your current code?

2 Likes

Welcome to the FFC forum.

Example

<p>some text <a href="requiredlink">linking text</a> some more text</p>

@queentigg

2 Likes
p><a>See more <a href="https://freecatphotoapp.com">cat photos<a> in our gallery.<a href="https://freecatphotoapp.com"><a>link to cat pictures<a><p>

this is what is said to be incorrect

1 Like

i will try this :upside_down_face:it didnt work

1 Like

Show your modified code…
@queentigg

2 Likes

@hasanzaib1389 it wont let me put more than 2 links on a post but i literally did as you advised

1 Like

Are you passed the challenge step- 12 ?
@queentigg

no im on step 12 now

any more suggestions?

Show your code you have right now in the editor.

ill make a new post cuz it wont show here

unless i can directly message you, do you know if there is a way to do so

i still need help with this problem

1 Like

You are close! You have one too many ‘a’ tags. I would restart the lesson. Then insert the opening ‘a’ tag in front of ‘cat photos’ and then one closing ‘a’ tag after it. Good luck!

1 Like

We cant help if you dont show your current code

When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (').

2 Likes

ok im gonna try that thank you so much

1 Like

i had no idea you couldnt see my code & this post wont let me share the code more than twice :upside_down_face:

1 Like