Let It Be – How to Declare JavaScript Variables: Madhatted.com

ES2015 added a variety of riches to JavaScript. Among them are two new ways
to declare variables, let and const. These tools were introduced to
address faults of var, provide us an opt-in path to new functionality, and
bring richers semantics to JavaScrip…

Similar

Minimal Code Editor in JavaScript

How to write a small extensible code editor in pure javascript, with syntax highlighting and a few other nice features in 1KB. Absolutely no dependencies, a bit of contenteditable magic, with a strong focus on keeping it small and simple. (more…)

Read more »

Custom Dropdowns Without JavaScript

At work I’m creating lots of forms and all kinds of different inputs methods. Especially dropdowns are always a pain point when styling, as the default <select> dropdown is not stylable. In this post I’d like to introduce a way to create a customiza... (more…)

Read more »