I cannot get past this line

Tell us what’s happening:

"https://freecatphotoapp.com/submit-cat-photo" input = "text" help 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 action= "https://freecatphotoapp.com/submit-cat-photo" <input="text" "text" </form>
</main>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36 Edg/87.0.664.75.

Challenge: Create a Form Element

Link to the challenge:

hey @mikebrechin,

This is the error you get

The existing input element should be nested within a form element.
Your form element should have well-formed open and close tags.

also this is how the input should look

 <input type="text" placeholder="cat photo URL">

Can you please gie me the exact line of code nested inside the forms

Hi Biscuitmanz
here is my code now but this still doesnt work …
…so frustrated ive been on this stupid line for an hour and a half. I dont think i can ever be a coder.

I changed it to this now, this is the code that should be inside the form, and of course you can be a coder, everybody gets stuck on problems, an hour and a half is not long for being stuck on a problem in coding especially when you first start, just give it time and things will become easier mate :slight_smile:

<form action= input type="text" placeholder="cat photo URL" action="/https://freecatphotoapp.com/submit-cat-photo" ? This is it inside the form elements but it is not working. Thankyou.

i think you are miss understanding were it says inside the from tags

<form action="http address goes here">
<!-- input goes here -->
</form>

<input type="text" placeholder="cat photo URL"> 

so all you do is move the input element inside the form

and remember to assign "https://freecatphotoapp.com/submit-cat-photo" to the action attribute of the form element.

your reply is blank and you keep deleting your other ones. whats your code look like now? are you still having trouble?

Thankyou biscuitmanz , I have it now. It turn out i kept writing the https instead of https. Also I have a new appreciation for forms action and input. Thankyou for helping me out. I will continue to the next lesson. Have a nice day.

yeah best thing to do is just copy and paste the url addresses that they want you to add that way there’s no spelling mistakes.

happy coding :slight_smile: