Question
All events and JavaScript should be in script tags, no in-line events or JavaScript should be used. Event handler functions should all be anonymous. If
All events and JavaScript should be in script tags, no in-line events or JavaScript should be used. Event handler functions should all be anonymous. If additional functions are required, they will be noted in the notes area for each part.
Part 1
Create a text appender that adds (appends) text to the blue box each time some text is entered and the Append button is clicked. After each append, clear out the text box so new text can be entered.
Part 2
Create a simple calculator that adds two real numbers (fractional) and outputs the result in the green box. Don't worry about error checking at this point. The output should read Result = #
Part 3
Create a total calculator based on a tax rate and output the result to the result box. For example, if the price is 9.99 and the rate is 9.5, the total will be 9.99 * (1 + (9.5/100)) = $10.94. Only output the final total.
Part 5
Create a calculator to calculate the area of a circle based on the radius input. The formula for the area of a circle is a * r2
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