Question: A A Moving to another question will save this response. Question 3 Assume the following HTML Form and code: Number of Apples: Number of Oranges:

 A A Moving to another question will save this response. Question

A A Moving to another question will save this response. Question 3 Assume the following HTML Form and code: Number of Apples: Number of Oranges: Number of Banana: Discount: 4form onsubmit="return calo _price0 0;" clabel form"apple"> Number of Apples: label> cbrls Number of Oranges:ehabel> = "text" id="orange" " cbrl> 4label form"banana" > Number of Banana: / label> " " cbrls Discount:eflabel> coption value =55>5%10%-/option> cbrl> cbutton>Calculate Priceefbutton> c/span> - Each Apple cost 5 AED, Orange cost 6 AED and Banana cost 7AED. - Based on selected discount, elther 5% or 10% discount will applied on the total price. (hint: discount can be calculated by price - (discount/100)*price) - Show the price in the result (span with id 'r'price') - If the price is less than 12AED, color the span with the idm'price' green. If it is greater or equal 12 AED color it red. For the toolbar, press ALT+F10 (PC) or ALT+FN+F10 (Mac)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!