Learn HTML by Building a Cat Photo App - Step 12

Tell us what’s happening:
Describe your issue in detail here.

the lesson tells that the link text in the (p) element but i don’t know what is wrong i do all steps

      <h1>CAT PHOTO APP</h1>
      <a href="https://freecatphotoapp"
      <!-- TODO: Add link to cat photos -->

<!-- User Editable Region -->

       <a>See more cat photos in our gallery.
      <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

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

Link to the challenge:

links can be a little confusing at first

you can nest a link, within a <p>
you can also choose just one word in a sentence to be a link

for example:
(this is an example not the correct answer)

    <h1>Here is a title for you to study</h1>

I can make the word ‘title’ into a link by surrounding the word ‘title’
This would mean the anchor is nested within the h1 tag

    <h1>Here is a <a href="http:randomsite.com">title</> for you to study</h1>

links can go anywhere in a body and anything can become a link
hope this helps :smiley:

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