**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
<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="/submits-cat-photo"> <button type="submit".></form</button>
<input type="text" 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/79.0.3945.88 Safari/537.36.
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.
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 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”.