Tell us what’s happening:
**Your code so far**
<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>
<p>Top 3 things cats hate:</p>
**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.90 Safari/537.36.
Challenge: Create a Form Element
Link to the challenge:
Hi, the challenge asks you to nest elements, for example:
In the example above we say that
#div2 is nested in
The challenge itself also provides a helpful example on what it wants you to do with
replace everything below
Basically this tutorial teaches you to always place inside of a .
Key thing to remember if your isn’t inside of a then it’s not coded to standard.
to summarize, element collects data from the user, element organizes all that data, and the action="" attribute, on the element tells the program where you want that data to be sent.
basically this tutorial teaches you to always place inputs inside of a form element.
key thing to remember if your input isn’t inside of a form element, then it’s not coded to standard.
to summarize, an “input” element collects data from the user, the “form” element organizes all that data, and the “action=”" " attribute on the “form” element tells the program where you want that data to be sent.
<input type="text" placeholder="cat photo URL">
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.