Skip to content

Calendar from Advent of JavaScript 2021 - Challenge 14

Notifications You must be signed in to change notification settings

mreed4/advent-21-calendar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This one was challenging, and fun. In addition to the main ask of the challenge, I also added keyboard events and the ability to see the days from the previous and next month. Additional styling as well.

The biggest challenge was writing the logic to render days without a traditional HTML table. Instead, the code provided by challenge was grid based. In a sense this made it easier, and probably more performant, as there were no nested loops.

I did not use the moment.js library, and instead used the native Date object.