Cant create a form

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

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

Challenge: Create a Form Element

Link to the challenge:

You have to let us know what it is you do not understand, or at least ask a question. You do not seem to have added any code.

This is the example given:

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

This is the input element you have in the starter code.

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

That input element needs to go inside a form element, like in the example. Then you have to change the action attribute to use the correct value "https://freecatphotoapp.com/submit-cat-photo"

If you still need help, post your code with your attempt at creating the form.

1 Like

thanks i have figured it out

Good job. Next time, please ask a question so we can better guide you.

Happy Coding!

1 Like

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