How to create submit button in form

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>

 <a href="#"><img src="https://www.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://www.freecatphotoapp.com/submit-cat-photo"> 
   <input type="text" placeholder="cat photo URL">
submit </form>
<button type="submit">submit</button>
</main>
   **Your browser information:**

User Agent is: Mozilla/5.0 (Linux; Android 8.1.0; Redmi Note 5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.210 Mobile Safari/537.36

Challenge: Add a Submit Button to a Form

Link to the challenge:

Read the first rule carefully. It says Your form should have a submit button inside it. This means the submit button should be inside the form tag not outside it.

1 Like

@ErFy
Thanks for the help
. :sparkling_heart:

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