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
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