Duaneisstucknow

Tell us what’s happening: I’m stuck, watched the vid, typed everything he had & it’s telling me the 2nd part is wrong.

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/83.0.4103.116 Safari/537.36 OPR/69.0.3686.95.

Challenge: Create a Form Element

Link to the challenge:

The code above doesn’t include the form tag or the action specified in the task…add those in around the cat photo url input and try the test again…

I retyped whats on the video and it’s still wrong.

Hi Bogey, the action does not refer to what you want the form to do, but to the exact url where you want your content to be sent to (without the slash /). The exercise gives you that url, just copy paste it :slightly_smiling_face:

you just need to use the provided url:

Nest your text field inside a form element, and add the action="https://freecatphotoapp.com/submit-cat-photo" attribute to the form element.