encode
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="https://freecatphotoapp.com/submit-cat-photo"><input type="text"placeholder="cat photo URL"><button type="submit"></button></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.100 Safari/537.36
.
Challenge: Add a Submit Button to a Form
Link to the challenge:
Use button tag with attribute type submit
put some text between the button tags. otherwise button will not be displayed.
Reading your code it does look like your close.
I’d try changing your button tags inside your form to input tags.
https://www.w3schools.com/html/html_forms.asp
Scroll down to ‘The Submit Button’ to get what I mean.
Roma
6
@encode, the lesson says;
“Add a button as the last element of your form
element with a type of submit
, and Submit
as its text.”
Your button does not have any text.
Revisit the lesson and look at the sample to see how you would add the correct text.
W3schools was a cornerstone of my learning how to code. I constantly revisit w3schools too, there’s no way I could remember all this stuff on my own!
HI @The_coder_64 !
It is great that you want to share resources with other forum users but it would be best to stay on track with the original topic.
Maybe you can private message @NoxiousWidth with resources you enjoy 
system
Closed
13
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.