Edit: found the Mistake

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>

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

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:87.0) Gecko/20100101 Firefox/87.0.

Challenge: Create a Form Element

Link to the challenge:

1 Like

They wanted you to nest the input inside a form element. The next step is to add a url to the action like this:

<form action="https://freecatphotoapp.com/submit-cat-photo">
        <input type="text" placeholder="cat photo URL">
  </form>

The action attribute specifies where to send the form-data when a form is submitted.
https://www.w3schools.com/tags/att_form_action.asp
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form

Thank you very much, but I have already found the mistake by myself

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