Learn HTML by Building a Cat Photo App - Step 10

Tell us what’s happening:
Describe your issue in detail here.
After the I am lost on the next Input of information.

  **Your code so far**
<html>
<body>
  <h1>CatPhotoApp</h1>
  <main>
    <h2>Cat Photos</h2>
    <!-- TODO: Add link to cat photos -->
    <p>Click here to view more cat photos.</p>
    <a href='https//freecatphotoapp.com'></a>
    <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_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.3 Safari/605.1.15

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

Link to the challenge:

hi Justin welcome to the forum.

I think you should restart the exercise by clicking on the Restart Step button.
(You have too much code for some reason. You only need to add one new line of code for the requested anchor element)

Step 10

You can link to another page with the anchor (a) element. For example, <a href='https://freecodecamp.org'></a> would link to freecodecamp.org.

Add an anchor element after the paragraph that links to https://freecatphotoapp.com. At this point, the link won’t show up in the preview.

The href= I don’t understand what it has to do with

Whenever you go online and click on a link, the browser does something right?
It takes you usually somewhere else.
But how does the browser know for example where this link goes?

Since all webpages are made up of HTML code, the HTML is what is telling the browser where to go when someone clicks a link.

<a href="https://www.youtube.com/watch?v=dQw4w9WgXcQ">Click Me!</a>

So href is an attribute and it belongs inside the opening anchor tag (which ultimately creates a link).