Programming in JavaScript- Week 3 Assignment Change Calculator Starting with the downloadable assignment files, write the Javascript needed for the application. Use the book and
Programming in JavaScript- Week 3 Assignment Change Calculator Starting with the downloadable assignment files, write the Javascript needed for the application. Use the book and lectures as a guide. Develop an application to determine how many quarters, dimes, nickels the results so they are whole numbers. Change Calculator Enter amount of change due (0-90 Quarlers Dimes Pennies Open the HTML and JavaScript files in the week 3 zip folder:
1.Run the Change Calculator n to see the user interface shown above. The interface won't do anything until you develop the JavaScript for it. Add your first and last name to the title like this: FirstName LastName
2. In the JavaScript file, note that the S function has already been coded
3. Code an event handler named processEntry0 that gets the user's entry and checks to make sure that it is a number between 0 and 99. If it isnt, display an alert dialog box for the error. If it is valid, call a function named makeChange) and pass it the user's entry
4. Code the makeChange) function, which should have one parameter that accepts the user's entry. This function shouldn't return anything, but it should display the results in the text boxes for Quarters, Dimes, Nickels, and Pennies
5. Code an onload event handler that attaches the processEntry) event handler to the click event of the Make Change button. Then, test the application. Create a document and paste in JS and/or HTML. Comment each code section with a detailed description of what it does.
Zip all files for submission. Add a screenshot of the running application on your computer showing the time/date on your screen at the time of testing.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
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