Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

HTML

Michael Owens
Michael Owens
7,918 Points

Button not showing up in html form?

I am not sure how to fix this. Everything looks right to me. Maybe someone else can see something I can't.

<!DOCTYPE html>
<html>
  <head>
    <title>Ultimate Funding, LLC</title>
    <link rel="shortcut icon" type="image/png" href="favicon.ico"
  </head>
  <body>
    <h1>Ultimate Funding, LLC</h1>
    <p>Funding one business at a time</p>
    <form action="project1.html" method="post">
      <h2>Get Business Funding within 24 Hours</h2>
        <fieldset>
          <label for="email">Email:</label>
          <input type="text" id="email" name="lead_email"><br>
          <label for="name">Name:</label>
          <input type="text" id="name" name="lead_name"><br>
          <label for="company">Company:</label>
          <input type="text" id="company" name="lead_company"><br>
          <label for="phone">Phone#:</label>
          <input type="text" id="phone" name="lead_phone"><br>
          <label for="howmuch">How Much Do You Need?</label>
          <select id="howmuch" name="how_much">

            <optgroup label="Choose Below">
              <option value="select_One">Select One</option>
              <option value="20000">20000</option>
              <option value="30000">30000</option>
              <option value="40000">40000</option>
              <option value="50000">50000</option>
              <option value="60000">60000</option>
            </optgroup>
        </fieldset>

        <button type="submit">Apply Now</button>


    </form>
  </body>
</html>

1 Answer

Steven Parker
Steven Parker
231,059 Points

You've got a couple of syntax errors:

  • the "link" tag is missing the ending ">" symbol
  • the "select" element is missing an end tag

That last one is responsible for concealing the button.

And thanks for fixing up the formatting! :+1:

Michael Owens
Michael Owens
7,918 Points

Thanks Steven! Yup that fixed it. Second pair of eyes always helps!!