Question: please this is one activity , answer a) and b) if you can . thanks please solve the a) part only please use javascript a)

please this is one activity , answer a) and b) if you can . thanks
please this is one activity , answer a) and b) if you
can . thanks please solve the a) part only please use javascript
a) Using the html code in Example 2, add the if, else
if, else statement that will display a receipt message if the quantity
please solve the a) part only
please use javascript
is between 1 and 20. For example, if the user enters 6
for variable quantity, the display in the browser will be: Activity 1
Welcome Peter Quantity = 6 Subtotal $42 Shipping $8.99 TOTAL $50.99 On
the other hand, if the user enters a number less than zero,

a) Using the html code in Example 2, add the if, else if, else statement that will display a receipt message if the quantity is between 1 and 20. For example, if the user enters 6 for variable quantity, the display in the browser will be: Activity 1 Welcome Peter Quantity = 6 Subtotal $42 Shipping $8.99 TOTAL $50.99 On the other hand, if the user enters a number less than zero, a negative number, for variable quantity, the display in the browser will be: Activity 1 Welcome Peter -3 is invalid Activity 1 Welcome Peter O is not a valid quantity Also, if the user enters a number that is greater than 20, for variable quantity, the display in the browser will be: Activity 1 Welcome Peter OUT OF STOCK. We don't have 35 tiles on stock b) Using example 6, make that all elements in the list that are greater than 3 has the background color, font color, and font size changes. Activity 1.b Milk Eggs Broccoli Chicken Fish a) Using the html code in Example 2, add the if, else if, else statement that will display a receipt message if the quantity is between 1 and 20. For example, if the user enters 6 for variable quantity, the display in the browser will be: Activity 1 Welcome Peter Quantity = 6 Subtotal $42 Shipping $8.99 TOTAL $50.99 On the other hand, if the user enters a number less than zero, a negative number, for variable quantity, the display in the browser will be: Activity 1 Welcome Peter I -3 is invalid Activity 1 Welcome Peter O is not a valid quantity Also, if the user enters a number that is greater than 20, for variable quantity, the display in the browser will be: Activity 1 I Welcome Peter OUT OF STOCK. We don't have 35 tiles on stock

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!