Question
Q4 Create Your Own flower Bouqute Item Unit Price Red Roses $5.5 Yellow Lily $7.5 White Mini Calla $4.00 Pink Orchid $8.00 Orange Daisy $7.00
Create Your Own flower Bouqute
a) Write JavaScript code (Q4.js) that is executed when the place order button is pressed and it
calculates the cost of each item (based on quantity specified) entered the online form and the
overall total cost. The results should be displayed on the same page under the form submission
button.
All JavaScript code must be external. If any fields are left blank or do not contain a number, an
alert box should display an appropriate error message upon form submission.
b) The following style rules must be implemented using an external CSS. Ensure that the stylesheet is
properly referenced in the HTML code
- All text in the page must be displayed in MediumBlue.
- The background color of the form is DarkOrange.
- The input form should have a fixed width of 540 pixels.
- The input form should be surrounded by a blue border and the distance from the content to the
border should be 10 pixels.
Question #4 Copy and paste the following HTML code into a new document: 24
Create Your form action= " " Own flower id="frm" > Bougute
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