Take a deep dive into building reactive Rails applications with Hotwire Turbo and only a pinch of custom JavaScript. This article compliments the RailsConf 2021 talk by Vladimir Dementyev. (more…)
Read more »
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 »
### Controls
- Movement: WASD or Arrow Keys
- Attack: Left Mouse Button
- Jump: Space or Right Mouse Button
- Switch Weapon: Q/E or Mousewheel
If you accidentally scroll the page down when you want to change weapons, either resize your browser wind... (more…)
Read more »
The rapid pace of the JavaScript world is both a blessing and a curse. Let's look at JavaScript newsletters to help us keep up with all the madness. (more…)
Read more »