A simple visual calendar widget thing. Why? Because I think it's cute.
This got me using Date()
which feels very cool. I then started wondering about all the stuff we are given in JS Land. Turns out I've been using these things all the time. They're called (at least by MDN) Standard built-in object.
There's also this great learning resource called JavaScript Express that seems great in general, but they also go into this whole "standard library" business. It's geared towards people who are comfortable with programming concepts but just need to know how JS does things. The whole thing is basically a collection of examples to illustrate how things look in JS with a little bit of explanation.
This was a fun little project. There's something about working with dates that I enjoy. Dates and time.
Conditionally rendering styles is fun too! This is basic stuff, but it sparked something good in me.
[x] calendar skeleton
[x] variables and elements for month and year
[x] generate calendar for current month
[x] month navigation
[x] header styles
[x] weekday styles
[x] apply date classes
[x] dates styles
[x] clean up and comment
[] refactor event handlers?