Thanks to the tuitorial of tutorialzine ,I succeeded in refining the digital clock with more theme controls.
Click “switch theme” to toggle from light theme to madoka theme.
click “alarm” icon to set the time from now on.
Made with full jquery and css3.
1.when you are doing homework or test.Set the alarm and just wait for the alarm ring.
2.Or just treat it as a time app.
If you want to DIY the digital clock.Just save the html file of the link above and customize it.