Learn HTML by Building a Cat Photo App - Step 12

Tell us what’s happening:
Describe your issue in detail here.
it wants me to inbed a link to cat photos by using my <a tags and I think i’m doing it correctly but it won’t let me pass

  **Your code so far**
<html>
<body>
  <h1>CatPhotoApp</h1>
  <main>
    <h2>Cat Photos</h2>
    <!-- TODO: Add link to cat photos -->
    <p>
    
    <a href="https://freecatphotoapp.com">cat photos.</a>

   <p/>
    <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/105.0.0.0 Safari/537.36

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

Link to the challenge:

1 Like

Try removing the space between the p and a tag

nope. thanks but that didn’t work!

it says: In the text of your p element, turn the words cat photos into a link to https://freecatphotoapp.com by nesting these words inside of a new anchor element.

  <p>
        <a href="https://freecatphotoapp.com">cat photos.</a>
 <p/>

okay remove the . (fotstop) from the ending of the word photos

OK, it gives me more info: Test

Sorry, your code does not pass. Keep trying.

Hint

After nesting the anchor (a) element, the only p element content visible in the browser should be Click here to view more cat photos. Double check the text, spacing, or punctuation of both the p and nested anchor element.

this is all my little coding dreams going down the tubes for one little problem :frowning:

it says double check the spacing in your code
<p> <a></a></p>
try making your code look like the example above

Sometimes its frustrating but you always to

Keep in mind Of your WHY

so, just keep checking my spacing?

Can you post the current code again

MY code is

      <p> 
            <a href="https://freecatphotoapp.com">cat photos</a>
      <p/>

their code is

n the text of your p element, turn the words cat photos into a link to https://freecatphotoapp.com by nesting these words inside of a new anchor element.

did you see the code i posted

yes thanks! thanks for your help!

i’m back on track, just need to check my spacing and link

No problem brother, Happy to help

i am a sister coder :wink:

Lol just figured out sis

I’ve edited your code for readability. 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 (').