Add a Submit-botton-to-a-Form

Tell us what’s happening:
Describe your issue in detail here.
I add a button to HTML, but I get the following error:
Your submit button should only have the text

Here is what I typed in:

So what is it giving me this error and it want let me go on to the next module.

Please help.



  **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>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:89.0) Gecko/20100101 Firefox/89.0

Challenge: Add a Submit Button to a Form

Link to the challenge:

<button type="submit">//Submit button goes here</button>

Hey reggiec08,

The instructions in the exercise:

…with a type of submit , and Submit as its text.

You didn’t do the second part yet. The text on the button should only show the word Submit.

@reggiec08, here’s what you typed in
<button type="submit"></button>

The failing message says
Your submit button should only have the text Submit.

If you look in the preview pane do you see a button with the text ‘Submit’?

The lesson gives this example of a submit button
<button type="submit">this button submits the form</button>

Notice how yours differs?

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