5.9. Test driving Break NeckMake sure you've checked your answers to the Just Do It exercise on the last page with ours, and made these changes to your pizza.js JavaScript file. Then, load up pizza.html, and let's see how things look. The first part of Break Neck works the same... customers enter a phone number, and the server sends back their address. Then the customer enters in their pizza order, and clicks "Order Pizza". Without ever having to see a page reload, customers get an order confirmation page with an estimated delivery time. Now, the Break Neck order form is submitted asynchronously, instead of using a form submit. Alright, let's let the customers know we've made some improvements! Not so fast, Alex... |