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 trialradekfabisiak
8,064 PointsHello, Why my form don't work? I add submit in form,and near form. Regards Radek
Form
<!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><p><strong>BUBUBUB</strong>babaabab</p></li>
<li></li>
<li></li>
</ol>
</div>
<form>
<input type="text" value="Hello World" />
<button type="submit" value="Submit">Submit</button>
</form>
</body>
</html>
4 Answers
Adrian Adr
9,268 PointsI don't follow your question, how you want your form to work? If you want your form to work you must add some server-side code like php to make your form work and send a message or some text.
radekfabisiak
8,064 PointsThis is part of your quiz. Task tell me "insert submit button" and send error if i write <button type="submit"... But send pass if i write <input type="submit"... Why?
radekfabisiak
8,064 Pointssend error if i write "button type..." but pass if i write "input type..."
Adrian Adr
9,268 PointsOf course, because the task is about input types. :) that was what you've learned in the course.
bothxp
16,510 PointsHi Radek,
<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>Text</strong></p>
</div>
<form action="#" method="post" name="my_form">
<input type="text" value="Hello World">
<input type="submit" value="Submit">
</form>
</body>
</html>
Adrian Adr
9,268 PointsAdrian Adr
9,268 PointsIf you reffer to your code challange your code must be:
<input type="submit" value="Submit">