As a dev, I need to create a click event using JavaScript on the "checkout" button that is on the order form page
AC
WHEN the user clicks the "checkout" button on the order form page
THEN a click event should occur
AND there should be an alert that appears and displays "thank you for your order"
AND the form should clear
Dev Notes
-to clarify, the checkout button will not then take the user to a traditional checkout page
use alert to display a pop-up window with the thank-you message
User Story
As a dev, I need to create a click event using JavaScript on the "checkout" button that is on the order form page
AC
WHEN the user clicks the "checkout" button on the order form page THEN a click event should occur AND there should be an alert that appears and displays "thank you for your order" AND the form should clear
Dev Notes
-to clarify, the checkout button will not then take the user to a traditional checkout page