I need help with the <form> element please

I can’t seem to properly use form element. Can a brother get some help.

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

User Agent is: Mozilla/5.0 (X11; CrOS x86_64 13729.84.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.130 Safari/537.36.

Challenge: Create a Form Element

Link to the challenge:

What problems are you having? The things that jump out to me are that you don’t have a closing tag and you have at least one typo in your action url.

Thanks for the reply, where is the typo? and the closing tag is at the end of the code, no?

Sorry. I didn’t see that it scrolled to the side. You do have a closing tag.

I can see a random / in your url. I don’t know if it has other typos.

1 Like

I can’t believe that’s all it was. Thank you very much.

Good job on the challenge. Happy coding!

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