Tell us what’s happening:
**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>
<form action="https://freecatphotoapp.com/submit-cat-photo"><input type="text"></form>
<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/89.0.4389.82 Safari/537.36 Edg/89.0.774.50
.
Challenge: Create a Form Element
Link to the challenge:
Hi @Garlinsk !
I would suggest resetting the lesson because the form tag is in the wrong place.
You need to wrap the form tags around the existing input tag.
</ol>
<!--Place opening form tag here-->
<input type="text" placeholder="cat photo URL">
<!--place closing form tag here-->
</main>
1 Like
Tell us what’s happening:
**Your code so far**
<h2>CatPhotoApp</h2>
<main>
<p>Click here to view more <a href="#">cat photos</a>.</p>
<form action="https://freecatphotoapp.com/submit-cat-photo"><input type="text"></form>
<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/89.0.4389.82 Safari/537.36 Edg/89.0.774.50
.
Challenge: Create a Form Element
Link to the challenge:
The form is still in the wrong place.
You do not need to create a new input tag
You need to wrap the form around the existing input.
The existing input is at the end of the code not at the top.
Here it is
Make sense?
system
Closed
5
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.