Your form should have an action attribute which is set to https://freecatphotoapp.com/submit-cat-photo"

I have no idea what I have done wrong… I even copied and pasted the url incase I mistyped, but I still can’t seem to pass the challenge. Can somebody help me please?

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><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 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.80 Safari/537.36 Edg/86.0.622.48.

Challenge: Create a Form Element

Link to the challenge:

A couple of things. Firstly, you have two opening <form> tags. You do not need the first one. Secondly, you have a / in front of https

1 Like

Thank you, this helped!

1 Like