Tell that how to write this https://freecatphotoapp.com/submit-cat-photo

Tell us what’s happening:

Your code so far


<h2>CatPhotoApp</h2>
<main>
<p>Click here to view more <a href="#">cat photos</a>.</p>
<form action="https://freecatphotoapp.com/submit-cat-photo"></form>

<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>
<input type="text" placeholder="cat photo URL">
</main>

Your browser information:

User Agent is: Mozilla/5.0 (Linux; Android 8.1.0; vivo 1820) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 Mobile Safari/537.36.

Challenge: Create a Form Element

Link to the challenge:

Hi there,
this is the syntax for creating a form in HTML.

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

Now you need to nest it which means inserting an element in another one. Here you should insert an input element inside the form.
find this part and wrap it in a form element.

 <input type="text" placeholder="cat photo URL">
1 Like