In this tutorial, I’ll show you how to add keyboard events to any webpage, allowing us to react to key presses with JavaScript code. Contents 1. Events Review 2. Window Object 3. keyup & keydown 4. Event.key vs Event.code Events Review What is an event? An event is anything that happens on a webpage … Read More “JavaScript Keyboard Events: the keyup & keydown Event Listeners” »
Let’s face it, if you’re a developer, especially a back-end web developer, you have got to know some Bash commands. You’ll use them daily to run your server-side scripts, start up your database, and even perform some basic housekeeping tasks. So in this guide, we’ll look at 11 basic Bash commands every developer should … Read More “11 Basic Bash Commands Every Developer Should Know” »
For most people, the terminal is one of the most dreaded parts of learning to code. It’s unintuitive, not directly related to coding, and for many people, plain boring. Why learn the terminal/Bash? Because for developers, especially back-end developers or systems engineers, it is a vital tool for setting up, running, and debugging code. In … Read More “3 Reasons Every Developer Should Know Bash Commands” »
Express.js is a minimalist, unopinionated, and extremely flexible web framework with almost 25,000,000 weekly npm downloads. It allows us to quickly and easily set up a web server with Node.js and write our own API code to interact with the back-end technologies of a website. With this guide, you can have your first Express … Read More “How to Set Up an Express Server in 7 Easy Steps” »