Learn HTML by Building a Cat Photo App - Step 12

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.

Your code so far

      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->

<!-- User Editable Region -->

      <p>See more <a href="https://freecatphotoapp.com"<>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.">

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36

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

Link to the challenge:

1 Like

If I were you Iā€™d check the syntax of my <a> element.

You are very close but kindly remove your hotoapp.com"< opening tag from here.

So that this will become like <a> in this format.

Hope you understand.

Besides the issue with the opening a tag, you also have the characters reversed on the closing a tag.

I tried this and still received the same error.

Could you please elaborate?


I give you an example of use:
Imagine you have the sentence clik here to ride a horse, and you need to turn in a link the word here, and the href is https://www.somelink.com
Well. Your code should be like this:
click <a href="https://www.somelink.com">here</a> to ride a horse

Review the example and adjust your code.

By the way,ā€¦ you missed a second anchor below this one. :thinking:


Thank you for your help!!

1 Like

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