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

Zoe Watson
3,986 PointsNeed help with add a "submit" button with the text "Place Order"
I'm sure i'm entering what we've learned to date correctly "<button type="submit">Place Order</button>" so i'm completely out of ideas. Any help on what i could do differently greatly appreciated.
Thanks
10 Answers

Charles Gray
19,470 Pointsyou can add a submit button two ways 1 <input type="submit" value="Submit" > or
- <button type="submit">Submit</button>

Charles Gray
19,470 Points<input type="submit" value="submit">

Charles Gray
19,470 Points/input type="submit" value="Submit" >/

Zoe Watson
3,986 PointsThanks Charles I have it sorted now.

Charles Gray
19,470 Points/<button type="submit">Submit</button>/

Charles Gray
19,470 Pointsok this is weird ignore the forward slashes
jase richards
10,379 PointsChance are you're making the mistake most people make:
Are you doing the submit button in an input tag? You shouldn't be.
<button type="submit">Place Order</button>
That's what you should have.

Charles Gray
19,470 Pointsheres plain text input type = submit value = Submit

Charles Gray
19,470 Pointsor button type = submit >Submit< button

Charles Gray
19,470 Pointsplace the text you want between open and closing button tags