Learn HTML by Building a Cat Photo App - Step 10

Tell us what’s happening:
Describe your issue in detail here.
its says my code should link https://freecatphotoapp.com .but still having issues

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 cat photos in our gallery.</p>
      <a href="url https://freecatphotoapp.com." target="https://freecatphotoapp.com.">https://freecatphotoapp.com.</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) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36

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

Link to the challenge:

  • The href attribute should just have the URL. Do not include any other text such as “url”. And URLs usually don’t have a dot at the end.
  • The instructions did not ask you to add the target attribute.
  • The instructions did not ask you to add link text between the a tags.

Only do exactly what the instructions ask and no more. Doing anything extra will most likely cause the tests to fail.

thank you very much I really appreciate it.

<p>See more cat photos in our gallery. <a href="https://freecatphotoapp.com">cat photos</a></p>
this test cannot be passed i dont understand

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 (').

What errors do you get when you submit the code? What just posted works for me

You want to turn the words cat photos that are already there in the middle of the sentence into a link. Not add another cat photos to the end of the sentence.

Oh, wait, this is only step 10, not 12, my bad. Forget what I said above and listen to this instead :slightly_smiling_face:

The new link you are adding should come completely after the p element, not within it.

And don’t add any link text between the a tags. You are creating an empty link at this point. You will add text to it in the next step. Be sure to only do what the instructions ask and no more. Adding anything extra will often cause the tests to fail.

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