Issue with html line

**Tell us what’s happening: I can’t get past the step that says "Your submit button should only have the text “Submit”. I don’t know if i need to take something out from a previous line or just change the line in general.

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="/submits-cat-photo"> <button type="submit".></form</button>
  <input type="text" placeholder="cat photo URL">

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.88 Safari/537.36.

Challenge: Add a Submit Button to a Form

Link to the challenge:

@Laiden Welcome to the forum!

The original code had a form (below).

  <form action="/submit-cat-photo">
    <input type="text" placeholder="cat photo URL">

You only need to add a button element, assign the button a “type” attribute with the value of “submit” and make the button text “Submit”.

Instead, you changed the original form’s action attribute to something different. You added a “.” in the opening button tag and added </form as the button’s text.

See if you can correct your mistakes now.

I still don’t understand what exactly i’m supposed to be changing I went back through and deleted the part that said and just made the line <button type=“submit”.> but i’m still confused.

The text of a button is the part between the opening and closing tags. For example:

<button>This is the button text</button>

You also still have a stray “.” inside the opening button tag that should not be there.

this is your button, inside it there is a broken tag, not the required text

The mistake is that you have unnecessary items in that line of code for the button.
The period (.) is not required.
May be you should try delete the button element, and rework it according to the instruction.
An open tag should have only one corresponding closing tag.

I reset everything and got <button type=submit /button (> </> are in between submit and button but they won’t load into the comment). so i deleted the unnecessary text but its still saying "Your submit button should only have the text “Submit”.

If your opening and closing tags are correct, you should still need text to show where the “Submit” button is.

text of an element is the text between the opening and closing tag, you do not have any text inside there as of your last code shared