Skull
July 7, 2020, 4:05pm
1
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>
<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 action="/submit-cat-photo">
<input type="text" placeholder="cat photo URL">
</main>
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1.1 Safari/605.1.15
.
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
July 7, 2020, 4:07pm
2
you are missing the closing form
tag
2 Likes
Skull
July 7, 2020, 4:11pm
3
Do you mean at the end of the thing I tried it doesn’t seem to work can you be more clarifying thank you
ILM
July 7, 2020, 4:14pm
4
most elemenents need an opening and a closing tag, the form element is one of those, you need an opening <form>
tag and a closing </form>
, you do not have the closing tag
Skull
July 7, 2020, 4:16pm
5
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>
<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> action="/submit-cat-photo"</form>
<input type="text" placeholder="cat photo URL">
</main>
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1.1 Safari/605.1.15
.
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.
It looks like you accidentally created a new topic instead of replying to this topic. Please do not create duplicate topics for the same challenge/project question(s). This duplicate topic has been combined with this topic.
Thank you.
1 Like
Skull
July 7, 2020, 4:17pm
7
hey it dosent seem to work I tagged you In the text which I just showed you the programing you showed
ILM
July 7, 2020, 4:20pm
8
you also need to put the required attribute inside the opening form tag, and the input inside the form element
1 Like
Skull
July 7, 2020, 4:21pm
9
Hey is there any way you can show me because I really don’t understand
The instructions say
Nest your text field inside a form
element, and add the action="/submit-cat-photo"
attribute to the form element.
So, the challenge is looking for the text input to be nested inside the form, like this:
<parent tag>
<nested tag>
</parent tag>
1 Like
sokina
July 8, 2020, 10:29am
11
First, you need to put the attribute (action) inside the form opening tag
second, the (input) tag should be inside the form because it is a part of it
:slight_smile:
1 Like