I am unable to turn cat photo into link using the same value of href

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

  **Your code so far**
<html>
<body>
  <h1>CatPhotoApp</h1>
  <main>
    <h2>Cat Photos</h2>
    <!-- TODO: Add link to cat photos -->
    <a href= cat photos.</a>
    <a href= cat phtos</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 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36

Challenge: Step 12

Link to the challenge:

Hi @_ira22, welcome to the forum.
You have 2 main issues here:

  1. the opening tag for the anchor element is never closed. When you close it, the text (only the words “cat photos”) that is supposed to become a link should be between the opening and the closing tags.
  2. the href value is missing and it is supposed to be either a URL or a URI.

You are also missing the paragraph element that you were given at the beginning of the challange. I suggest you to reset this step (if possible) and restart it.

The initial state of those 2 lines was this:

<p>Click here to view more cat photos.</p>
<a href="https://freecatphotoapp.com">cat photos</a>

Thank you :slight_smile: for your reply, it was really helpful.