I'm not able to nest "input" with "form"

Tell us what’s happening:
Describe your issue in detail here.

   **Your code so far**

 <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>
   <li>cat nip</li>
   <li>laser pointers</li>
 <p>Top 3 things cats hate:</p>
   <li>flea treatment</li>
   <li>other cats</li>
 <form action<input="/https://www.freecatphotoapp.com/submit-cat-photo" >
<type="text" placeholder="cat photo URL"></form>
   **Your browser information:**

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

Challenge: Create a Form Element

Link to the challenge:

Hi @Krizz-03,

Your syntax is really messy:

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

You nested the input tag inside the opening form tag. Nest means between the opening and closing tag here.

Also, you should check the syntax of your input tag:

<input="/https://www.freecatphotoapp.com/submit-cat-photo" >
<type="text" placeholder="cat photo URL">

input is a tag, you cannot use the = for it. The link should be in another attribute of the input tag. And you use an opening < just before type, which confuse the code. I advice you to look the example give into the course and maybe check the previous lessons:

<form action="/url-where-you-want-to-submit-form-data">
  <input type="" placeholder="">

I got it right :slight_smile:
Thank You !!!

Glad you arrived to pass it. Good luck for the next challenges @Krizz-03 !

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