Simple datepicker component from Learn JavaScript course
- clicking the shows the datepicker
- days in the datepicker and navigation buttons are highlighted on hover & focus
- selected day changes color
- users can navigate the calendar with arrow buttons
- selected date gets displayed in the input field
- Semantic HTML
- CSS grid
- custom properties
- vanilla JavaScript, using
Date
object