how to use from action

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>
</from>  
</main>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.128 Safari/537.36.

Challenge: Create a Form Element

Link to the challenge:

Welcome to the forum ^^
The provided code already has an input-tag, you just need to add a form-tag around it and add the action attribute with the given adress.

You placed your form-tag wrong.
You created another input-tag.
There is a random quotation mark in the action-attribute, breaking the link.

The tests say to wrap the existing input element in the form tag that you created but you created a new input and wrapped it and also

And remove this part from your form element

pls remove quotation marks

from the .com . Then it will probably pass

wrong

wrong said

incorrect

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