DEV Community

Cover image for Day 2/30 Vanilla JavaScript - Clock
vital-b
vital-b

Posted on

2 2

Day 2/30 Vanilla JavaScript - Clock

On today's platter, we have a simple analog clock. We use CSS to make it look good, and JavaScript to make the needle move.

Again, not too much difficulty on this one. The main hurdle I ran into was that ['], ["] and [`] are indeed NOT the same.

Learned about:

- CSS Transform Properties
- Cubic-Bezier function

You can find my work here: https://github.com/vital-b/JavaScript-Demo-2-Clock

Top comments (0)

AWS Q Developer image

Your AI Code Assistant

Automate your code reviews. Catch bugs before your coworkers. Fix security issues in your code. Built to handle large projects, Amazon Q Developer works alongside you from idea to production code.

Get started free in your IDE