Tell us what’s happening:
i am stuck please, what am i doing 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>
<form>
<input type="text" placeholder="cat photo URL">
<form action="https://freecatphotoapp.com/submit-cat-photo"></form>
</main>
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.125 Safari/537.36
.
Challenge: Create a Form Element
Link to the challenge:
Learn to code. Build projects. Earn certifications.Since 2015, 40,000 graduates have gotten jobs at tech companies including Google, Apple, Amazon, and Microsoft.
xps321
August 11, 2020, 5:41pm
2
You have an extra <form>
tag in your code, right before the <input>
tag. Then, you can move your complete <form>...</form>
line in place of the <form>
tag which was removed.
Thanks xps321,
I just tried that and passed line two but now failed the line one which i passed before.
Nest your input inside your form tags.
please how? i have followed the example on the page but keep failing. when i pass one line another will fail, even the one i passed before.
1 Like
xps321
August 11, 2020, 6:34pm
6
<form action="https://freecatphotoapp.com/submit-cat-photo">
<input type="text" placeholder="cat photo URL">
</form>
Try this @nchedop1
Nesting a p tag inside a body is like this:
<body>
<p>
</p>
</body>
Now just do that with the form tag and input.
Wow! finally got it, thanks a lot.
very helpful . Thanks a lot.