Button – alarm clock 3, you can control the time on
The time display function is as follows. You need to know that there is an H1 tag under the body to display the time
Other use cases for setTimeout() and setInterval()
Disable the alarm by clearTimeout(),clearInterval().Add AM, PM display: subtract 12 from 24 hours in the afternoon.