Let's Build a Datepicker: 03: Initial show/hide, year rendering and problems (Javascript)

Опубликовано: 18 Март 2026
на канале: Pete B
2,587
21

Code a custom made, highly interactive and scalable datepicker with me using HTML, CSS and vanilla Javascript (JS).

In this lesson we are going to add a few event listeners to show and hide the datepicker and dynamically render the available year choices. This will be done the old-fashioned procedural way. We will also see why procedural coding is not scalable and why we need to introduce ES6 classes.

Github link to lesson: https://github.com/blntptr/datepicker...

Website: https://peterbalint.hu/en/
Twitter:   / blntptr  

Music: Clang - Yung Logos (YouTube Studio)
Thumbnail datepicker icon: Freepik https://www.flaticon.com/authors/freepik