To detect if the caps lock is on, use the getModifierState() method for the KeyboardEvent object: const capslockIsOn = event.getModifierState(modifier); The getModifierState() (...)... (more…)
Read more »
During the past few weeks, I've been working on prettier, which is a JavaScript pretty printer. We are approaching the phase where we can actually use it so this is a good time to explain how it works. (more…)
Read more »
Face it, learning JavaScript is a waste of time. DOM manipulation: Who's Dom? Event handling: React added that like 10 years ago. (more…)
Read more »
Divya and Jerod welcome ZEIT founder Guillermo Rauch to the show for a deep discussion on the state of JAMstack, what’s new & exciting with Next.js, and some big picture analysis of where the industry is heading. (more…)
Read more »