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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!