Question
In Javascript For this assignment I would like you to create an online store. Decide what you will be selling - two or three items
In Javascript For this assignment I would like you to create an online store. Decide what you will be selling - two or three items will be sufficient. Just make a pretty page. Use functions wherever possible. 1. Add prompts to get the buyer's name, phone, and email address (three prompts) . Display this information using document.write in a new window or use an alert 2. Add buttons to select the item required . All items should have different prices, and as yet you don't know how to use if else. However by clicking on the button for a particular item you can set the cost depending on which item they choose. You could put the image on the button , or you could have a button and an image - you would need to let the user know they needed to click a button to say how many they wanted. Then you need to display the item requested, the quantity, and the total price (don't forget the dollar sign). You will need to put this html file as well as the images in a folder and zip it and submit. You will lose points if the images are linked to your computer and don't display for me, so verify it all works before submitting.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started