Help needed re Add a Submit Button to a Form

Help needed re Add a Submit Button to a Form
0

#1

Tell us what’s happening:
Hey guys can someone help me here I am trying to add a submit button I have entered the code below but it keeps saying make sure your make sure your button element has a closing tag what am I doing wrong and how should I off entered the text. The lesson is Basic HTML and HTML5: Add a Submit Button to a Form

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="/submit-cat-photo">
    <input type="text" placeholder="cat photo URL">
    <Button type="submit">Submit</Button>
  </form>
</main>

Your browser information:

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

Link to the challenge:
https://learn.freecodecamp.org/responsive-web-design/basic-html-and-html5/add-a-submit-button-to-a-form


#2

Try with lower case b in button in both open and closing tag.


#3

Hey

Thanks for that codename11 it worked I never realised I was using an upper case B I must have been staring at it too long to notice you know the way you get blind sighted by something.

Thanks for your help much appreciated.

Robert