Help regarding form issues for a newbie

How do i go about constructing form. i am stalked

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="/submit-cat-photo">
<input type=text"placeholder=cat photo URL">
</form>

</main>

Your browser information:

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

Challenge: Create a Form Element

Link to the challenge:

Hi,

You have to include the entire URL in your form element.

Hi @mayor101!

As mentioned you need to use the correct url for the action attribute. You have also edited the input and there are some typos.

You might need to reset the lesson and don’t edit the information in the input tag and use the correct url.

Hope that helps!

1 Like

Thanks. There is video to every other task i dont why there is none for this task. i dont seems to understand where to input the code. Been on it for hours now, trying to use different means to get it done still no headway yet.

I know FCC is transitioning into the new format of only projects so maybe they are phasing out the videos. Not sure though.

You nested the input in the form correctly. However, you used the wrong url address and have some typos in the input.

<form action="use correct url address">
  <input type="text" placeholder="cat photo URL"> <!--this was the input from original. Do Not change this-->
</form>

Hope that helps!