Javascript30 - Day02
Github: RyanChen1997/JavaScript30: 30 Day Vanilla JS Challenge (github.com)
Today, I completed a project called "JS and CSS Clock". Through this project, I gained the following insights:
- Modifying an element's style directly within the Chrome Browser console is possible.
- The CSS property "transform" can be used to rotate an element.
- The CSS property "transition-timing-function" can alter the animation of "transform".
However, I discovered a bug in the clock: when the hand points to the 0 o'clock position, it rapidly moves around.