1 The manager of Guaranteed Gaskets has discovered a leak in the warehouse attic. It’s raining, so he has placed a 25-liter bucket under the leak to catch the rain. He wants you to design a program to keep track of the amount of rain accumulated in the bucket as long as it’s raining. Every 10 minutes, you’re to check the water level in the bucket and record it in the program. If the level is 20 liters or higher, the program should display a message reminding you to empty the bucket and put it back. Otherwise, the program should display a message reminding you to come back in 10 minutes and run the program again. The manager of Guaranteed Gaskets wants to see your program in action, so he asks you to develop it in JavaScript and show him how it works. and save the file as rainBucketMonitor.html.
