how do i go about this?
The existing
input
element should be nested within a
form
element.
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>
<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 6.3; Win64; x64; rv:80.0) Gecko/20100101 Firefox/80.0
.
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.
dont still get it
please explain better
1 Like
leensh
September 7, 2020, 11:09am
4
i dont get how to nest things at all? like should i open an element or smh?!!!
someone pls explain!!!
please what is opening and closing tags?
please explin,
am only learning
nested within a
form
element.
that is where am getting it difficult
i fill my work is ok,
cant figure out where am wrong
am so SORRY!!!
help me please
ILM
September 7, 2020, 12:55pm
11
kingibe925:
<> opening
</>closing
to nest an element you need to put it between opening and closing tag of an other element
example:
<div>
<p>Hello!</p>
</div>
the p
element is nested inside the div
element
cant cross here
help please
The existing
input
element should be nested within a
form
element.
ILM
September 7, 2020, 5:21pm
13
what changes have you made? what have you tried to fix the issue?
show your new code and we can help more
<form action="https://freecatphotoapp.com/submit-cat-photo"><input type "text"></form>
ILM
September 8, 2020, 7:00am
15
what’s your whole code?
also, here you are missing a character:
kingibe925:
type "text"
I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.
You can also use the “preformatted text” tool in the editor (</>
) to add backticks around text.
See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (').
<p>like this</p>
hmmmmmmmmmmmmmmm
i put code in that message
<input type="text" placeholder="cat photo URL">
XD
The post has not been active for almost a year.
Please participate in newer posts.
I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.
You can also use the “preformatted text” tool in the editor (</>
) to add backticks around text.
See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (’).