Tell us what’s happening:
Hello! im having trouble getting through this part of the tutorial. Im pretty sure the code is correct. It keeps telling me that the input is not nested withing the form.
Ive also tried the solution setup for the web app and its not giving me passage to the next section.
Is there anyone that can help me push this part ? override?
Thank you, in advance.
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 type="text" placeholder="Cat Photo URL">
</form>
<form action="/submit-cat-photo">
<input type="text" placeholder="cat photo URL">
</form>
</main>
Your browser information:
User Agent is: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:80.0) Gecko/20100101 Firefox/80.0.
I tried that same problem over and over again on my laptop, it never worked. I tried it on my phone with the same exact code and it worked the very first time. Try on a different device, seriously.
Yep, I did have two codes - as an example of what I had attempted. I switched my browser from FF to Chrome and no luck. It still says its not nested within the form. I do see you mentilned you were going to add an example of your code but I seem to miss it.
Well this is mine but I don’t know if I see a difference.<form action= “https://free at photos-please.com/submit-cat-photo”> <input type=“text” placeholder=“cat folder URL></form
all browsers are supported. There are a few rare incompatibilies with specific challenges that are being worked on, but this one is not one of those, it is perfectly compatible with any browser
no, the issues were:
here you had placeholder="Cat Photo URL" instead of placeholder="Cat Photo URL"
here you had placeholder="cat folder URL" instead of placeholder="cat photo URL", the tilted curly quotes where also an issue, and a missing quote after URL
here you had two form tags, one with again placeholder="Cat Photo URL" instead of placeholder="cat photo URL", and the other with the wrong action value