Learn HTML by Building a Cat Photo App - Step 12

Tell us what’s happening:
Describe your issue in detail here.
Whenever I type “see more cat photos in our gallery” in the

element it shows an error and tells me that i should type “cat photos”, but when i just put “cat photos” in the

tag it shows me the error that i should write “see more cat photos in our gallery” in the

Your code so far

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

<!-- User Editable Region -->

      <p><a href='https://freecatphotoapp.com'> cat photos </a></p>
      <a href="https://freecatphotoapp.com">link to cat pictures</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.">

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36 OPR/

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

Link to the challenge:

You want both. The text inside the p element should be See more cat photos in our gallery. but only the text cat photos should be a link.

tried it still not working

You’ll have to show me what you tried by pasting your updated HTML in here before I can provide further help.

To display your code in here you need to wrap it in triple back ticks. On a line by itself type three back ticks. Then on the first line below the three back ticks paste in your code. Then below your code on a new line type three more back ticks. The back tick on my keyboard is in the upper left just above the Tab key and below the Esc key. You may also be able to use Ctrl+e to automatically give you the triple back ticks while you are typing in the this editor and the cursor is on a line by itself. Alternatively, with the cursor on a line by itself, you can use the </> button above the editor to add the triple back ticks.

 <p>See more <a>cat  photos</a> in our gallery.</p>

and put the <a href=" "> as given in the instruction

This is a good start but you need to add the href attribute to the opening a tag. Also, you seem to have added an extra space between the words cat and photos. The tests are very sensitive about spaces and adding extra spaces will often cause the tests to fail. Be sure not to make any changes other than what the instructions ask for.

1 Like

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