Create a Form Element Challenge

Tell us what’s happening:

I have tried every one of the codes that work in the chat. None of the solutions work for this question. I am stuck and cannot move on.

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>
<form action="https://freecatphotoapp.com/submit-cat-photo><input type="text"  placeholder="cat photo URL">
</form>
m                                                                  ><input type="text"  placeholder="cat photo URL">
</form>
</main>

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:79.0) Gecko/20100101 Firefox/79.0.

Challenge: Create a Form Element

Link to the challenge:

Hey brother,
don’t worry , it is so simple…
it is just to add an action attribute and cut the input element and put it inside the form…

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

@bensantoslevi
Hello.
It’s simple. Don’t worry.

Let’s try nesting the input tag inside the form tag and adding action=“URL” to the form tag.

like this.

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

thank you.