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="test" placeholder="cat photo URL">
</form>
</main>
**Your browser information:**
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36 Edg/88.0.705.63
.
Challenge: Create a Form Element
Link to the challenge:
the action
attribute in your <form>
element has the wrong value
the type
attribute in your <input>
element has the wrong value
For the correct answers please revisit the hints given in the challenge.
It is great that you solved the challenge, but instead of posting your full working solution, it is best to stay focused on answering the original poster’s question(s) and help guide them with hints and suggestions to solve their own issues with the challenge.
What is your current code?
Srini84
February 12, 2021, 5:00am
7
@robertavandyke
In the <form action pass the url as "https://freecatphotoapp.com/submit-cat-photo">
input type is not test, It should be text
Optional:
If we need a submit button so add this tag
<button type="submit" >Submit</button>
and you are good to go
Hope this helps you
Thanks
1 Like
No, do not do this. Only do exactly what the instructions ask you to do and no more. Even making the slightest change to something that you were not asked to change or adding something that you were not asked to add may cause the test to fail.
Srini84
February 12, 2021, 5:12am
9
@bbsmooth
That was an optional, both ways works even if you didn’t place the button
Thanks for the attention
system
Closed
August 13, 2021, 5:12pm
10
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.