Question: Create a web page with a box to input a number and three buttons called Circle, Square, and Clear. If you enter a number say
Create a web page with a box to input a number and three buttons called "Circle", "Square", and "Clear." If you enter a number say '4' into the box and press "Circle" then create a circle with radius 4. If you press "Square" then display a square where each side is 4. If you If you press "Clear" then the circle/square should be erased from the page.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
