Trouble getting past a portion of the test

I have been working on this portion of the test for 2.5 days already and I am getting a bit frustrated with this portion of the test.

  <form action="https://www.freecatphotoapp.com/submit-cat-photo"

<h2>CatPhotoApp</h2>
<main>
<p>Click here to view more <a href="#">cat photos</a>.</p>
<form action="https://www.freecatphotoapp.com/submit-cat-photo"
<a href="#"><img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back."></a>
<p>Things cats love:</p>
<ul>
  <li>cat nip</li>
  <li>laser pointers</li>
  <li>lasagna</li>
</ul>
<p>Top 3 things cats hate:</p>
<ol>
  <li>flea treatment</li>
  <li>thunder</li>
  <li>other cats</li>
</ol>
<input type="text" placeholder="cat photo URL">
</main>
  **Your browser information:**

User Agent is: Mozilla/5.0 (X11; CrOS x86_64 14388.61.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.107 Safari/537.36

Challenge: Create a Form Element

Link to the challenge:

Hi @AbeHelton,

You have two issues in your code. You’re almost arrived. You need to focus on the tags you opened and closed for the form.

Example of the course:

<form action="url-where-you-want-to-submit-form-data">
  <input>
</form>

Watch carefully the structure, the syntax and now watch your code:

<form action="https://www.freecatphotoapp.com/submit-cat-photo"
  <a href="#"><img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back."></a>
  
  <!-- I removed the middle part for that it be easier to analyse -->
 
  <input type="text" placeholder="cat photo URL">

Do you see the differences between your code and the example gave by the course?

Hint: do you have an opening and closing form tag with the good syntax?

Advices:

  • Watch the log message you have in the console to help you debug your code. The message is: Your form element should have well-formed open and close tags.
  • Indent your code well, like this you can see the things missing faster.

Hope it helps you!