I need assistance with how to form an action attribute to the website

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

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

Challenge: Create a Form Element

Link to the challenge:

Hi @jaydenchristian121 !

There are a few errors so I would suggest reseting the challenge.

Here are the first part of the instructions:
Nest the existing input element inside a form element

This is the existing input.

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

Use that input. Do not alter it.
Wrap your form tags around that.

<form>
EXISITING INPUT GOES HERE
</form>

Here is the second part of the instructions:
assign "https://www.freecatphotoapp.com/submit-cat-photo" to the action attribute of the form element.

Take this url they gave you "https://www.freecatphotoapp.com/submit-cat-photo"
and assign that to the action attribute.

<form action="URL GOES HERE">
EXISITING INPUT GOES HERE
</form>

Hope that makes sense!

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