How do i create a submit button that i am ask to do

Tell us what’s happening:

  **Your code so far**

<p>Click here to view more <a href="#">cat photos</a>.</p>

<a href="#"><img src="" alt="A cute orange cat lying on its back."></a>

<p>Things cats love:</p>
  <li>cat nip</li>
  <li>laser pointers</li>
<p>Top 3 things cats hate:</p>
  <li>flea treatment</li>
  <li>other cats</li>
<form action=""><input type="text"placeholder="cat photo URL"><button type="submit"></button></form>
  **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.
Scroll down to ‘The Submit Button’ to get what I mean.

@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 :grinning:

They should be able to.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.