Learn HTML by Building a Cat Photo App - Step 10

Your anchor (a ) element should link to https://freecatphotoapp.com . You have either omitted the URL or have a typo.

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->

<!-- User Editable Region -->

      <p='https://freecatphotoapp.com'></p> 
     <a href='https://freecodecamp.org'></a>=https://freecatphotoapp.com

<!-- 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 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36

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

Link to the challenge:

Welcome to our community!

here in this step, you are asked to add an anchor element after the paragraph that links to https://freecatphotoapp.com

<a href='https://freecodecamp.org'></a>is used for you as an example and not used directly as it is, change the attribute href value by https://freecatphotoapp.com only with the proper format <a href="URL"></a>

thanks for your reply. this is how i tried to do <a’https://freecodecamp.org’=“https://freecatphotoapp.com”>
and it gives a hint like this
Your anchor (a ) element should have an opening tag. Opening tags have this syntax: <elementName> .
am I on the right track and need a little correction

can you give me an example of the format

Yes, you are on the right track you need only a slight correction.
in your code first delete the code which is written =https://freecatphotoapp.com then change https://freecodecamp.org by https://freecatphotoapp.com with double quote ("").

in another way, use this format <a href="URL"></a>
next to <p='https://freecatphotoapp.com'></p> your URL will be https://freecatphotoapp.com.

thanks for your help it worked

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