How to nest and a form action

Tell us what’s happening:
This is my code so far but some how I can’t get the form action nested properly, any help would be appreciated

submit="cat-photo">Submit
<input type="text" name="catphoto" name="Cat Photo">

<input type=" submit" value="Submit">
</main>

Your code so far


<!DOCTYPE html>
<html>
<h2>CatPhotoApp</h2>
<body>
<main>
<p>Click here to view more <a href="#">cat photos</a>.</p>

<a href="#"><img src="https://bit.ly/fcc-relaxing-cat" 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>
<form action= "https://freecatphotoapp.com/submit-cat-photo"> submit="cat-photo">Submit
  <input type="text" name="catphoto" name="Cat Photo">
  <input type=" submit" value="Submit">
</form>
  </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/86.0.4240.183 Safari/537.36.

Challenge: Create a Form Element

Link to the challenge:

This line is malformed.

Hello when you say it is malformed what does this mean I haven’t been in class because of illness and I am just not getting this what would it look like if it is right I can’t see what I am doing wrong help

It means that it contains syntax errors.