Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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
216,136 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!!