Create a form element troubleshoot

I am trying to create a form element. Not too sure what’s going on. I copied the example pic but it’s still not working.

Im using google chorme. I tried in microsoft edge but that didnt work either!!

  **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://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back."></a>

<form action="https://www.freecatphotoapp.com/submit-cat-photo">
<input>
</form>

<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>

</main>
  **Your browser information:**

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

Challenge: Create a Form Element

Link to the challenge:

You moved and changed the input element. You must use the original input element.

Hi, I actually mistaken what I was trying to do :sweat_smile: I edited it and fixed it. Thank you for your reply!

1 Like

Sure thing. It’s easy to mix things up. We’ve all done it! Let us know if you have more questions.

I don’t know what that is? I tried <input type="text" but that didnt work.

<h2>CatPhotoApp</h2>
<main>
  <p>Click here to view more <a href="#">cat photos</a>.</p>

  <a href="#"><img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" 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://www.freecatphotoapp.com/submit-cat-photo">
<input>
</form>

</main>

If you reset the code for the challenge, you can see the original input element that was provided.

1 Like

OHh okay I understand now, thank you very much!

1 Like

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