A visitor clicks on “Apply a 10% off coupon to my order,” and the amount due changes to reflect the savings. Which language is responsible for this change?

(1 point)
Responses

HTML

HTML

CSS

CSS

JavaScript

JavaScript

PHP

1 answer

The language responsible for updating the amount due to reflect the savings when a visitor clicks on “Apply a 10% off coupon to my order” is JavaScript. JavaScript is used for client-side scripting to handle user interactions and update the webpage dynamically without needing to reload it.