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.
Javier MARQUEZ11,877 Points
I am stuck
Sorry for bothering you guys, could you give me a hand?
I am having a hard time with the 4th task of this code challenge. I am supposed to identify the order with an order number. I am absolutely lost, can someone copy paste his code to see what they mean, I really dont understand the question. Here is my code.
Thanks a whole lot.
<!DOCTYPE html> <html> <head> <title>Ye Olde Ice Cream Shoppe</title> </head> <body> <p>Your order has been created. What flavor of ice cream would you like to add to it?</p> <form method="post" action="process.php"> <label for="flavor">Flavor</label> <select id="flavor" name="flavor"> <option value="">— Select —</option> <option value="Vanilla">Vanilla</option> <option value="Chocolate">Chocolate</option> <option value="Strawberry">Strawberry</option> <option value="Cookie Dough">Cookie Dough</option> </select> <input type="submit" value="Update Order"> </form> </body> </html>
Jennifer NordellTreehouse Teacher
What it's looking for is a hidden input element with the type equal to hidden, name equal to order_id, and the value equal to 7546. Add the input immediately before the closing tag of your form.
<input type="hidden" name="order_id" value="7546">