Learn HTML by Building a Cat Photo App - Step 10

Tell us what’s happening:

In the 10th task I have to put anchor after the p sentence link it with another page but it’s clearly not working for me I don’t know why what I did wrong I can’t understand I just want to clarify that plz give me solution I tried 3 times I’m done!!

Your code so far

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

<!-- User Editable Region -->

      <p>Everyone loves cute cats online!</p>
      <a>https://freephotoapp.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 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/148.0.0.0 Mobile Safari/537.36

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 10

GitHub Link: freeCodeCamp/curriculum/challenges/english/blocks/learn-html-by-building-a-cat-photo-app/5dc24614f86c76b9248c6ebd.md at main · freeCodeCamp/freeCodeCamp · GitHub

Welcome to the forum @Mahnoori

The href attribute should appear in the opening anchor tag.

Make sure to use https://freecatphotoapp.com for the value.

Happy coding

Hi buddy, See here how the example is being used here given in the example.

<a href="https://www.freecodecamp.org"></a>

Hope You Understand.

Hi there,

so your anchor element is not quite correct because you have to include a href attribute for links. Your anchor code should look like this:

mod edit: code removed (again)