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

Submit Button.. (Challenge says I need more input :S)

Hi all,

Not sure what's up here challenge says i need more input but that's slightly confusing??

All help welcome !!

html
<!DOCTYPE html>
<html>
  <head>
    <title>HTML Mastery Challenge</title>
  </head>
  <body>
    <h1>HTML Mastery Challenge</h1>

    <!-- Write your code below -->

    <div>
      <h2>Shopping List</h2>
      <ol>
        <li></li>
        <li></li>
        <li></li>        
      </ol>
      <p><strong>This is Bold Text</strong></p>
    </div>

    <form>
      <input type="text" Value="Hello World">
      <button type="submit"></button>
    </form>


  </body>
</html>

Thanks for looking!

Hi Craig, can you let us know what the challenge is asking?

Thanks everyone its sorted !!!!

2 Answers

Change

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

to

<input type="submit" value="Go!">

With the value being the text you would like to appear on the submit button

Thanks Stephen that has sorted it, I have used my original code before and it works fine on actual browser .. Is there a genuine error there or was I simply not doing what the code challenge had asked ??

Thannks

Have you tried adding a method and action to the form tag?

<form method = "get" action = "url" >