Tell us what’s happening:
It says that the text should be nested into form element there is no other text I should put in…I did it all right…help me!
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="/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/80.0.3987.149 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.
ILM
March 31, 2020, 1:50pm
2
there is nothing inside your form element
<form action="/submit-cat-photo">
<!-- to nest stuff in the form element put it here -->
</form>
i dont know what to nest in
i dont See any text that i need to put in…can u double check the syntax for me ?
ILM
March 31, 2020, 2:01pm
4
you need to put the existing text field in it
Nest your text field inside a form
element, and add the action="/submit-cat-photo"
attribute to the form element.
ILM
March 31, 2020, 2:20pm
7
if the tests pass doesn’t mean that it is the right solution
you created a new text field instead you were asked to put the existing thext field inside the form tag
ILM
March 31, 2020, 2:20pm
8
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.
See this post to find the backtick on your keyboard. The “preformatted text” tool in the editor (</>
) will also add backticks around text.
Note: Backticks are not single quotes.