Im not understanding how my tags aren't well-formed pls help

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

  **Your code so far**

<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>
<form action="/submit-cat-photo"
<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">
</form>
</main>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.93 Safari/537.36 Edg/96.0.1054.53

Challenge: Create a Form Element

Link to the challenge:

There are several things wrong right now. Make sure to look at the directions carefully

  1. You are supposed to only have one form, but you have two opening form tags. One right underneath each other.

  2. the challenge asks you to nest only the input in the form, not half the page. making sure to still give the action attribute the link they provided

delete the two forms up top, and only have a form with the nested input at the bottom with the correct action attribute link

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