Question: Create a web page that incorporates jQuery using Google's CDN. This webpage should show the user a text input where they can enter their age,
Create a web page that incorporates jQuery using Google's CDN. This webpage should show the user a text input where they can enter their age, and a "calculate" and "clear" button. When the user enters their age, and then clicks "calculate", calculate their insurance rate using the following formula:
The rule is that the insurance policy will cost 5 x the customer's age, plus $300 per year. So for someone who is 33 years old, the cost would be 5 x 33 + 300 = $465/year.
Fade in the resulting final cost. When the user clicks the "clear" button, the age text box should clear, and the cost of the insurance should fade out.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
