Lorna1
April 6, 2022, 2:27pm
1
Tell us what’s happening:
Describe your issue in detail here.
**Your code so far**
<form Action="submit-cat-photo">
<inputtype="text"placeholder="cat photo URL">
</form>
<main>
<p>Click here to view more <a href="#">cat photos</a>.</p>
<a href="#"><img src="https://www.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-phot"><input type="text" placeholder="cat photo URL">
</form>
</main>
**Your browser information:**
User Agent is: Mozilla/5.0 (Linux; Android 8.1.0; DUB-LX1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.157 Mobile Safari/537.36
Challenge: Create a Form Element
Link to the challenge:
So it says my form should have an attribute with is set to cat photo plz hel
It doesn’t say that. It says:
Your form
should have an action
attribute which is set to https://www.freecatphotoapp.com/submit-cat-photo
.
Details matter.
I’m trying to understand. You were supposed to wrap the form
around the existing input
. But you also created a new one at the top:
<form Action="submit-cat-photo">
<inputtype="text"placeholder="cat photo URL">
</form>
That is broken and shouldn’t be there anyway. Remove that.
Let’s look at the form at the bottom:
<form action="submit-cat-phot">
<input type="text" placeholder="cat photo URL">
</form>
When I fix the url to what we were told to use, the code passes for me. As a refresher, these were the instructions:
Nest the existing input
element inside a form
element and assign "https://www.freecatphotoapp.com/submit-cat-photo"
to the action
attribute of the form
element.
ALLESS
April 6, 2022, 3:33pm
3
In case you ever need to give up your day job, I’m pretty sure Moonlighting as a Human Random Quotes Machine, Could possibly be your calling:
1 Like
system
Closed
October 6, 2022, 3:34am
4
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.