I’m learning Html/Css &javascript the picture below shows how this should work at the end. I couldn’t get my copy address to work with the java script. or the alerts that a field is empty. when you check the box it should copy the shipping address to the billing address, It’s the simplest online shopping checkout form, Its almost all done everything is there pretty much just need slight help.
I can learn off your example what I did wrong but its due in a few hours so its a high priority assignment! quicker I get the corrections back and it working the better I tip!
First Name
Last Name
Address (this can just be one textbox)
City
State (this must be a dropdown list of the 50 states with two letter abbreviations (i.e. NY, NJ, etc.)
Zip (this must be a 5 digit number don’t worry about zips with 9 digits)
Phone Number (this must be area code, number (i.e. 845-555-6017)
There must be a checkbox which asks (same billing address). If the user checks it, it must copy all the contents of the above boxes to the corresponding ones under billing address.
Lastly there must be a submit button which checks to make sure all the input is valid and if so displays a message popop saying (“Your order has been submitted!”).
I have all of these filled out besides my javascript! it just needs to look good! and be swift in finishing thank you

WhatsApp us