Flavio Copes
Posts
The AHA Stack π
The Git Cheat Sheet π
Git, detached HEAD π
Git, rebase vs merge π
Using Astro locals π
Simplicity π
Why I use Alpine.js π
Why I use htmx π
Run an app on fly.io π
Why I use Astro π
Fix extra space after inline element π
How to fix an extra space displayed after an inline element in CSS [...]
SQL injection π
2023 blog redesign π
Vite Tutorial π
What is SWC? π
Fish Shell, how to remove the welcome message π
How to remove the βHWelcome to fish, the friendly interactive shellβ message in Fish Shell [...]
Interfaces in Go π
Methods in Go π
Pointers in Go π
Functions in Go π
Structs in Go π
Operators in Go π
Conditionals in Go π
Loops in Go π
Maps in Go π
Slices in Go π
Arrays in Go π
Strings in Go π
How to set up PHP π
How to learn programming π
Start here if you want to become a programmer [...]
Where to host a PostgreSQL database π
Letβs see some options to host your PostgreSQL database [...]
How to use the FormData object π
Find out what is a FormData object and how to use it [...]
How to create ebooks with Markdown π
My process for creating ebooks [...]
Fix a PostCSS Webpack error ruleSet rules oneOf... etc etc π
How to fix the error `ruleSet[1].rules[3].oneOf[8].use[2]!./styles/globals.css cannot find module` [...]
How to deep copy JavaScript objects using structuredClone π
The modern way to deep copy a JavaScript variable [...]
Node.js get all files in a folder recursively π
How do you list all the files in a folder in Node.js? [...]
How to fix an issue installing Node `canvas` on macOS π
How to fix a node-pre-gyp install issue installing the Node.js canvas library on macOS [...]
How to fix PostgreSQL saying "relation does not exist" π
A quick explanation of how to solve PostgreSQL saying relation does not exist [...]
How to dynamically import JavaScript modules π
Find out how to import a JavaScript module dynamically [...]
How to quickly create a Windows 10 computer on AWS π
Use AWS WorkSpaces to quickly create a Windows 10 computer on the Cloud [...]
Why does useEffect run two times? π
How to fix the useEffect runs twice problem [...]
How to loop over an array in Bash π
Find out how to loop over an array in Bash [...]
How to fix error serializing Date object JSON in Next.js π
Learn why you get the JSON serializable error in Next.js when you return an object with a date and how to fix it [...]
How to list files in a folder in Node π
How do you get an array with the list of the files contained in a folder in Node.js? [...]
How to empty a folder in Node.js π
How to remove all files from a directory in Node.js [...]
How to set up a cron job that runs a Node.js app π
Find out how to set up a cron job that runs a Node.js app [...]
How to set the fragment part of a URL π
Learn how to set the value of the fragment portion of a URL [...]
How to get the fragment part of a URL π
Learn how to get the value of the fragment portion of a URL [...]
npm can install packages in the parent folder π
Learn how to fix an issue that can happen with installing npm packages [...]
JavaScript, how to get the class name of an object π
If you have an object that's generated from a class, and you want to get its class name. How can you do so? [...]
How to set up "cloud cron jobs" using Netlify Scheduled Functions π
Find out how to set up Netlify Scheduled Functions [...]
How to set the current working directory of a Node.js program π
Find out how to serve an `index.html` HTML page using Node.js with no dependencies [...]
How to automatically format Astro files in VS Code using Prettier π
Find out how to use Prettier to format .astro files in VS Code [...]
How to fix decimals arithmetic in JavaScript π
Find out how to fix decimals arithmetic in JavaScript [...]
referenceerror: window is not defined, how to solve π
Find out how to fix the error referenceerror: window is not defined [...]
How to stick an element on the bottom of the page with flexbox π
Here is how to stick a div to the bottom of the page. [...]
How to use Netlify Edge Functions π
A hands-on guide to Netlify Edge Functions [...]
How to set up Git and GitHub from Zero π
A tutorial on how to set up Git and GitHub from scratch [...]
How to fix the error "unexpected token "{". import call expects exactly one argument" π
Here is how to fix the error SyntaxError: Unexpected token '{'. import call expects exactly one argument. [...]
How to fix "cannot use import statement outside a module" π
Here is how to fix the error Uncaught SyntaxError: cannot use import statement outside a module in JavaScript. [...]
How to fix "__dirname is not defined in ES module scope" π
Here is how to fix the "__dirname is not defined in ES module scope" error [...]
Blank page after router.push() in Next.js? π
How to solve the blank page after you programmatically call router.push() in Next.js? [...]
How to add days to a date in JavaScript π
How do you get a date object representing 10 days from now? Or one week? Or one month? [...]
How to debug JavaScript code π
A tutorial on how to use debugging to solve any JavaScript problem [...]
How to find a job as a software engineer π
Tips and strategies to get your first programming job [...]
Prepare for technical interview questions π
An introduction to what you might be asked at the interview [...]
Learn how to find solutions and ask for help π
A special skill you need to develop is how to find solutions, and when you don't find them yourself, how to ask for help [...]
Become a great Dev Team Member π
How to be a great fit into a team environment [...]
What is a webhook? π
How to have an image show up when sharing links to your site π
How do you make an image show up when you share your site links on social media? Let's find out! [...]
Astro Props π
Astro Components π
Low data mode π
SwiftUI forms π
SwiftUI: images π
SwiftUI: properties π
SwiftUI: spacing π
Swift Modules π
Why iOS π
Tsundoku π
Scraping with Puppeteer π
A practical example of using Puppeteer [...]
How to use SWR π
A short SWR tutorial [...]
Prisma relations π
How to use Prisma π
A Prisma tutorial [...]
Next.js, adding features just to development mode π
How to make features available in development mode, while hiding them in production [...]
React, how to make a checked checkbox editable π
How to add a checkbox that defaults to checked but it's editable in React [...]
Swift Protocols π
Swift Functions π
Swift Classes π
Swift Structures π
Swift Enumerations π
Swift Tuples π
Swift Dictionaries π
Swift Sets π
Arrays in Swift π
Booleans in Swift π
Strings in Swift π
Numbers in Swift π
Semicolons in Swift π
Swift Comments π
Swift Loops: `while` π
Swift Operators π
Swift Objects π
Swift Variables π
How to fix the `unable to resolve dependency tree` PostCSS and Tailwind issue in Next.js π
How to solve the `unable to resolve dependency tree` error while installing Tailwind in a Next.js website [...]
Johnny Five, how to light a LED π
Learn how to talk to electronic devices using JavaScript [...]
Phaser: Physics π
Phaser: Animations π
Phaser: Sprites π
Phaser: Mouse input π
Phaser: GameObjects π
Phaser: Scenes π
Phaser: The Canvas π
Johnny Five Tutorial π
Learn how to talk to electronic devices using JavaScript [...]
Ideas π
How to use window.confirm() π
How to use the confirm() API offered by browsers to let the user confirm [...]
How to use window.prompt() π
How to use the prompt() API offered by browsers to let the user decide something [...]
How to apply padding to multiple lines in CSS π
How I used the box-decoration-break CSS property to apply padding to multiple lines [...]
How to use pm2 to serve a Node.js app π
An introduction on how to manage Node processes on Linux and auto-restart them through GitHub webhooks [...]
Python Polymorphism π
Python Constants π
Python Enums π
Wait for all promises to resolve in JavaScript π
How to wait for multiple promises (using await) to all resolve [...]
React, edit text on doubleclick π
How to edit some part of a page when double clicked, with React [...]
React, focus an item in React when added to the DOM π
How to focus an item in React as soon as added to the DOM` [...]
Python Exceptions π
Python Annotations π
Python Introspection π
Python Docstrings π
Python Decorators π
Python Closures π
Python Recursion π
Debugging Python π
Python Classes π
Defining new objects in Python using classes [...]
Python Modules π
Python Loops π
Python Objects π
Python Functions π
Python Dictionaries π
Python Sets π
Python Tuples π
Electronics Basics: using a multimeter π
How to measure voltage, current and resistance using a multimeter [...]
Introduction to Electronics π
Introduction to the new series on electronics [...]
Python Lists π
Python Numbers π
Python Booleans π
Python Strings π
Python Operators π
Python Data Types π
Python 2 vs Python 3 π
Running Python programs π
How to run programs written in Python [...]
Installing Python 3 on macOS π
A how-to guide on installing the latest version of Python on your Mac [...]
Introduction to Python π
Introduction to the Python Programming Language Series [...]
How to use Netcat π
JavaScript, how to find duplicates in an array π
How to find and remove duplicates in a JavaScript array [...]
JavaScript, how to extend a class π
How to extend a class in JavaScript [...]
JavaScript, how to filter an array π
How to filter an array in JavaScript [...]
JavaScript, how to find a character in a string π
How do you find a character in a string, using JavaScript? [...]
JavaScript, how to exit a function π
How to quickly end a JavaScript function, in the middle of it [...]
JavaScript, how to export multiple functions π
How to export multiple functions from a JavaScript file [...]
JavaScript, how to export a function π
How to export a function from a JavaScript file [...]
A short guide to vim π
How to fix the "cannot update a component while rendering a different component" error in React π
A quick guide to how I solved a confusing React error [...]
How to fix the: "EMFILE: too many open files, watch" error in macOS π
A quick guide to how I solved a confusing React Native error [...]
How to fix the `iphoneos cannot be located` error in macOS π
A quick guide to how I solved a confusing React Native error [...]
How to solve the "unrecognized command run-ios" error with React Native π
A quick guide to how I solved a confusing React Native error [...]
Linux commands: env π
A quick guide to the `env` command, used to run commands and interact with environment variables [...]
Linux commands: printenv π
A quick guide to the `printenv` command, used to print the values of environment variables [...]
Linux commands: basename π
A quick guide to the `basename` command, used to return the filename portion of a path [...]
Linux commands: dirname π
A quick guide to the `dirname` command, used to get the directory portion of a path [...]
Linux commands: crontab π
A quick guide to the `crontab` command, used to schedule cron jobs [...]
Linux commands: export π
A quick guide to the `export` command, used to export variables to child processes [...]
Linux commands: tar π
A quick guide to the `tar` command, used to archive files [...]
Linux commands: traceroute π
A quick guide to the `traceroute` command, used to list all the nodes traversed to reach a host [...]
Linux commands: ping π
A quick guide to the `ping` command, used to ping a network host [...]
Linux commands: gunzip π
A quick guide to the `gunzip` command, used to unzip gzipped files [...]
Linux commands: gzip π
A quick guide to the `gzip` command, used to compress a file [...]
Linux commands: xargs π
A quick guide to the `xargs` command, used to pass output of a command and use it as argument to another command [...]
Linux commands: df π
A quick guide to the `df` command, used to get disk usage information [...]
Linux commands: nohup π
A quick guide to the `nohup` command, used to run a command that does not end when the terminal is killed [...]
Linux commands: diff π
A quick guide to the `diff` command, used to compare files and directories [...]
Linux commands: uniq π
A quick guide to the `uniq` command, used to work with duplicate records/lines in text [...]
Linux commands: sort π
A quick guide to the `sort` command, used to sort records/lines of text [...]
Linux commands: uname π
A quick guide to the `uname` command, used to print details about the current machine and the operating system running on it [...]
Linux commands: man π
A quick guide to the `man` command, used to learn how to use command line commands [...]
Linux commands: grep π
A quick guide to the `grep` command, used to match patterns in text [...]
Linux commands: umask π
A quick guide to the `umask` command, used to set the default permissions of files [...]
Linux commands: du π
A quick guide to the `du` command, used to calculate the space usage of files and directories [...]
Linux commands: history π
A quick guide to the `history` command, used to view the command line history [...]
Linux commands: wc π
A quick guide to the `wc` command, used to count lines, words or bytes [...]
Linux commands: open π
A quick guide to the `open` command, used to open files, directories and applications [...]
Linux commands: passwd π
A quick guide to the `passwd` command, used to change a user's password [...]
Linux commands: chmod π
A quick guide to the `chmod` command, used to change the file mode [...]
Linux commands: chown π
A quick guide to the `chown` command, used to change the owner of a file [...]
Linux commands: sudo π
A quick guide to the `sudo` command, used to run a command as another user [...]
Linux commands: su π
A quick guide to the `su` command, used to switch the shell to another user [...]
Linux commands: clear π
A quick guide to the `clear` command, used to clear the screen of the terminal. [...]
Linux commands: who π
A quick guide to the `who` command, used to show the users logged to the system [...]
Linux commands: whoami π
A quick guide to the `whoami` command, used to print the current user name [...]
Linux commands: which π
A quick guide to the `which` command, used to show where the command is stored [...]
Linux commands: type π
A quick guide to the `type` command, used to determine the _kind_ of a command [...]
Linux commands: fg π
A quick guide to the `fg` command, used to put a job that's running in the background to the foreground [...]
Linux commands: bg π
A quick guide to the `bg` command, used to resume a job that's been suspended [...]
Linux commands: jobs π
A quick guide to the `jobs` command, used to list the status of the jobs we started [...]
Linux commands: alias π
A quick guide to the `alias` command, used to create a shortcut to another command [...]
Linux commands: killall π
A quick guide to the `killall` command, used to send signals to multiple processes currently running [...]
Linux commands: kill π
A quick guide to the `kill` command, used to send a signal to a process currently running [...]
Linux commands: top π
A quick guide to the `top` command, used to list the processes running in real time [...]
Linux commands: echo π
A quick guide to the `echo` command, used to print the argument passed to it [...]
Linux commands: ps π
A quick guide to the `ps` command, used to list the processes currently running in the system [...]
Linux commands: ln π
A quick guide to the `ln` command, used to create links in the filesystem [...]
Linux commands: find π
A quick guide to the find command, used to find files and folders on the filesystem [...]
Linux commands: cat π
A quick guide to the cat command, used to add content to a file [...]
Linux commands: touch π
A quick guide to the touch command, used to create an empty file [...]
Linux commands: tail π
A quick guide to the tail command, used to watch files for changes [...]
Linux commands: less π
A quick guide to the less command, used to show the content of a file [...]
Linux commands: cp π
A quick guide to the cp command, used to move files and folders [...]
Linux commands: mv π
A quick guide to the mv command, used to move files and folders [...]
Linux commands: ls π
A quick guide to the ls command, used to list the files in a folder [...]
Linux commands: rmdir π
A quick guide to the rmdir command, used to remove a folder [...]
Linux commands: pwd π
A quick guide to the pwd command, used to check the current working directory [...]
Linux commands: cd π
A quick guide to the cd command, used to change folder [...]
Linux commands: mkdir π
A quick guide to the mkdir command, used to create folders [...]
How to change a Next.js app port π
Learn how to change the port that Next.js runs on in development mode [...]
How to create your first VPS on DigitalOcean π
A complete guide from zero to having a DigitalOcean VPS [...]
How to get the index of an item in a JavaScript array π
Here is how to retrieve the index of an item in a JS array based on its value [...]
What is a reverse proxy? π
Find out what is a reverse proxy and what is it useful for! [...]
How to solve the `util.pump is not a function` error in Node.js π
Find out how to solve the `util.pump is not a function` error that might happen when trying to run old Node code [...]
Serve an HTML page using Node.js π
Find out how to serve an `index.html` HTML page using Node.js with no dependencies [...]
Gatsby, fix the "cannot find module gatsby-cli/lib/reporter" error π
How I fixed a weird Error: Cannot find module gatsby-cli/lib/reporter error I got while creating a Gatsby site [...]
How to configure Nginx for HTTPS π
How to set up HTTPS on your Web Server using Let's Encrypt [...]
Using Redis Sets π
Redis Lists π
How to install Redis π
Dockerfiles π
What is a Dockerfile and how to use it [...]
The Command Line for Complete Beginners π
Introduction to using command line if you're a complete beginner [...]
How to reset a form π
Introduction to XState π
An overview the XState Finite State Machines JavaScript Library [...]
How to accept unlimited parameters in a JavaScript function π
How is it possible to have a function that accepts an unlimited number of parameters? [...]
How to check if a value is a number in JavaScript π
How is it possible to determine if a variable value is a number? [...]
What is hoisting in JavaScript? π
A brief explanation to what hoisting means in the JavaScript programming language [...]
What is object destructuring in JavaScript? π
What does "object destructuring" mean and what is the result of a destructuring operation? [...]
What's the difference between a method and a function? π
What is a method? And what is a function? What's the difference? [...]
Arrow functions vs regular functions in JavaScript π
How are arrow functions different than regular functions in JS? [...]
How to return multiple values from a function in JavaScript π
Functions return only one value. How can we simulate returning multiple values from a function? [...]
Primitive types vs objects in JavaScript π
What is the main difference between primitive types and objects in JavaScript? [...]
I love books π
DOM events: stopPropagation vs preventDefault() vs. return false π
Which one to use between `event.stopPropagation()`, `event.preventDefault()` and `return false` in events [...]
Event bubbling and event capturing π
Discover how event bubbling and event capturing work in JavaScript [...]
How I use text expanding to save time π
Optimizing common email or other communication tasks [...]
How to use environment variables in Netlify functions π
A short guide on how to use environment variables in Netlify functions [...]
How to create a staging version of your site π
A step-by-step tutorial on deploying a version of your website based on a GitHub Pull Request on Netlify [...]
GraphQL API vs REST API π
The main differences between REST and GraphQL and when it's best to use one vs the other [...]
How to go from tutorials to your own project π
When is it time to move on from reading/watching tutorials and work on something? [...]
Changing the favicon in dark mode π
How to display a different favicon in dark or light mode [...]
The Deno Handbook: a concise introduction to Deno π¦ π
Get up and running quickly with Deno, a modern Node.js alternative [...]
Productivity gains of using a Mac and an iOS device π
Productivity benefits of using the Apple devices ecosystem [...]
How to detect if an Adblocker is being used with JavaScript π
A strategy I use to add my own ad to the site if I know an adblocker is being used [...]
Responsive images using `srcset` π
How to use the HTML img tag srcset attribute to define responsive images [...]
How to detect dark mode using JavaScript π
Detecting dark mode, and detecting mode change using JavaScript [...]
Safari, warn before quitting π
How to avoid closing Safari by mistake, using a simple trick [...]
How to fix the TypeError: Cannot assign to read only property 'exports' of object '#<Object>' error π
How to mass rename files in Node.js π
Find out how to rename a set of files using Node.js [...]
How to create and save an image with Node.js and Canvas π
A story of how I improved my Twitter cards [...]
SQL, how to delete data and tables π
How to delete data from a SQL database table, and how to delete the table [...]
SQL, how to update a table structure π
How to update a SQL database table structure [...]
SQL, how to update data π
How to update data stored in a SQL database table [...]
SQL, Unique and Primary keys π
How to create unique and primary keys in a SQL database [...]
SQL, Handling empty cells π
How to handle null data in a SQL database [...]
SQL, how to use SELECT π
How to get data from a SQL database table [...]
SQL, adding data to a table π
How to insert data in a SQL database table [...]
SQL, creating a table π
How to create a table in a SQL database [...]
Let vs Const in JavaScript π
Let or const? Which one should you use? [...]
Setting up a project to build a JavaScript game with Phaser π
Setup a modern project and get started building a JavaScript HTML5 game using Phaser 3 [...]
What is a GB-second? π
Find out what is a GB-second in the AWS terminology [...]
What is a JavaScript Frontend Framework? π
A little introduction to frontend frameworks [...]
Incrementing multiple folders numbers at once using Node.js π
How I solved a little folders management problem [...]
An introduction to REST APIs π
What is a REST API from the point of view of a creator of a REST API and from the point of view of a consumer [...]
The Node Core Modules π
A list of the core modules provided by Node.js [...]
My plan for being hired as a Go developer. In 2017 π
I know, it's 2020. But I was reading my notes on a plan I had in 2017. [...]
The UDP Protocol π
A high level overview of the User Datagram Protocol [...]
The TCP Protocol π
A high level overview of the Transfer Control Protocol [...]
DNS, Domain Name System π
A high level overview of what is DNS and how it works [...]
How to get query string values in JavaScript with URLSearchParams π
Accessing and modifying query string values using URLSearchParams [...]
How to reload the browser window when you save a file π
A quick and simple approach [...]
How to remove duplicates from a JavaScript array π
Given an array, how can you remove duplicate values in it? [...]
How to remove all the node_modules folders content π
Save space by dropping your old Node modules [...]
The Developerβs Dilemma π
Deciding between using an existing service or platform, and building your own [...]
How to convert an Array to a String in JavaScript π
How to generate a string out of an array in JavaScript [...]
Should I be a generalist or specialize? π
You have a choice. You can be a specialist, or a generalist. Which route should you choose? [...]
What is a magic number in programming? π
In some tutorials, books, or videos, you might have seen the term magic number. What is that? [...]
The Arduino MKR WiFi 1010 π
An overview of this great IoT electronics board from Arduino [...]
How to make sure the Raspberry Pi has always the same IP address π
A step by step guide to configuring a router to assign a static DHCP IP address in your LAN to the Raspberry Pi [...]
How to connect to a Raspberry Pi using a Mac π
A step by step guide to connect to a Raspberry Pi using Rapbian via VNC [...]
List of keywords and reserved words in JavaScript π
A simple reference to all the keywords and reserved words in JavaScript [...]
How to open VS Code from the command line π
A simple guide to installing the VS Code command line tools [...]
The C Preprocessor π
How to use the C Preprocessor [...]
C Header Files π
How to use C Header Files to separate a program into multiple files [...]
C Structures π
An introduction to C Structures [...]
C Enumerated Types π
An introduction to C Enumerated Types [...]
The typedef keyword in C π
An introduction to the typedef keyword in C [...]
C Global Variables π
An introduction to C Global Variables [...]
Static variables in C π
How to work with static variables in C [...]
Can you nest functions in C? π
Find out if you can nest functions in C, or not! [...]
Scope of variables in C π
Learn what scope is, and how it works in C [...]
How to access the command line parameters in C π
Learn how to access the command line parameters in C [...]
C conversion specifiers and modifiers π
A handy reference to C conversion specifiers and modifiers [...]
How to print the percentage character using `printf()` in C π
Learn how to print the percentage character using `printf()` in C [...]
How to check a character value in C π
Learn how to check a character value in C [...]
How to solve the implicitly declaring library function warning in C π
Learn how to solve the implicitly declaring library function warning in C [...]
How to return a string from a C function π
Learn how to return a string from a C function [...]
Double quotes vs single quotes in C π
How to work with quotes in C [...]
Basic I/O concepts in C π
How to perform input/output using printf and scanf in C [...]
How to use NULL in C π
A brief guide at null pointers in C [...]
Introduction to C Functions π
An introduction to C Functions [...]
Booleans in C π
An introduction to how to use booleans in C [...]
Looping through an array with C π
How to loop through an array with C [...]
Introduction to C Pointers π
An introduction to C Pointers [...]
How to find the length of a string in C π
A practical tutorial on how to find the length of a string in C [...]
Introduction to C Strings π
An introduction to C Strings [...]
How to determine the length of an array in C π
How to determine the length of an array in C [...]
Introduction to C Arrays π
An introduction to C Arrays [...]
How to work with loops in C π
An introduction to C for, while and do-while loops [...]
C Conditionals π
An introduction to C Conditionals: if/else and switch [...]
C Operators π
An introduction to C Operators and Operator precedence [...]
C Constants π
An introduction to dealing with constants in C [...]
C Variables and types π
An introduction to dealing with variables in C, and the basic types [...]
Introduction to the C Programming Language π
Get started with C, a fundamental programming language [...]
Milli Micro Nano Pico π
With electronics and time measurements, you will find those terms used often: milli, micro, nano, pico. What do they mean? [...]
Non-printable ASCII characters list π
A table containing all the non-printable ASCII characters [...]
Printable ASCII characters list π
A table containing all the printable ASCII characters [...]
Introduction to the Arduino Programming Language π
How can you write programs for your Arduino board? Arduino, natively, supports a language that we call the Arduino Programming Language, or Arduino La [...]
The Arduino Uno WiFi rev 2 board π
The Arduino Uno is a microcontroller board. It is currently the reference version of Arduino, and the latest version of an official Arduino device is [...]
The Arduino Uno rev 3 board π
This is the reference Arduino version for prototyping, as lots and lots of tutorials use this version of Arduino as their reference board. [...]
An introduction to Arduino π
An overview of the Arduino electronics platform [...]
Coding is an art π
Coding is an art, a creative craft, a joyful thing [...]
How to block distractions using uBlock Origin π
A trick I learned to block distractions using uBlock Origin [...]
How to send the authorization header using Axios π
Learn how to send the authorization header using Axios [...]
How to fix the xcrun invalid active developer path error in macOS π
Quickly solve this annoying problem with the command line [...]
MySQL User Permissions π
A quick introduction at User Permissions in a MySQL Database [...]
SQLite User Permissions π
A quick introduction to user permissions in SQLite [...]
Converting Numbers from Decimal to Binary π
How to quickly convert a number expressed in the Decimal Number System to the Binary Number System [...]
The Binary Number System π
Introduction to the Binary Number System [...]
The GPL License π
A quick overview of the GPL License [...]
The Decimal Number System π
Introduction to the Decimal Number System [...]
Finite State Machines π
A quick overview of what State Machines are, with simple examples [...]
PostgreSQL vs MySQL, a comparison π
A quick comparison between PostgreSQL and MySQL [...]
How to start a blog using Hugo π
A detailed tutorial to start a new blog using Hugo from zero to deployment [...]
Creating a user on MySQL π
A quick step by step guide at how to create a user on MySQL [...]
How to install MySQL on macOS π
Step by step instructions to install MySQL on macOS using Homebrew [...]
How to list tables in the current database using PostgreSQL π
A quick explanation of how to list tables in the current database inside the `psql` tool in PostgreSQL, or using SQL [...]
How to list all databases using PostgreSQL π
A quick explanation of how to list all databases inside the `psql` tool in PostgreSQL, or using SQL [...]
How to switch database using PostgreSQL π
A quick explanation of how to switch between databases inside the `psql` tool in PostgreSQL [...]
How to list all users in PostgreSQL π
Find out how to get a list of all the users present in a PostgreSQL database, and their permissions [...]
This decade in JavaScript π
Looking back at the last decade in JavaScript / Web, it's been a wild ride. [...]
PostgreSQL User Permissions π
In this tutorial I will explain how to managing users and permissions in PostgreSQL. [...]
Introduction to PostgreSQL π
A high level overview of the PostgreSQL database [...]
How to install SQLite on macOS π
In this tutorial I want to explain what you need to do to install SQLite. [...]
A practical guide to Homebrew π
An introduction to the popular Homebrew package manager [...]
Do you always need a database for your app? π
Some thoughts on the need of a database. Maybe you need it, maybe not. [...]
How to install PostgreSQL on macOS π
Instructions for installing the PostgreSQL DBMS [...]
Introduction to SQL π
SQL (Structured Query Language) is a language we use to interact with a Data Base Management System (DBMS). [...]
What is a Database? And a DBMS? π
The main properties of a database and of a DBMS. [...]
Relational Databases π
Relational Databases are the software implementation of the concepts expressed by the theory introduced by the Relational Model. [...]
Relational Algebra π
When working with the relational model, we have 2 groups of operations we can use. One of them is relational algebra. [...]
The Relational Model π
The Relational Model is the most popular of the logic data models listed in the Data Models post, and it's at the basis of SQL databases. [...]
Introduction to the ER Data Model π
A simple but comprehensive overview of the entity-relationship data model [...]
Data models π
Data Models define how we give a structure to data, and how data is connected to other data. [...]
Information systems, data and information π
The modern world is completely centered around information and data. What's the difference? [...]
How to disable an ESLint rule π
A quick tutorial on how to disable ESLint rules [...]
How to read a CSV file with Node.js π
A quick tutorial to read data from a CSV file using Node.js [...]
How to write a CSV file with Node.js π
A quick tutorial to write an array of data to a CSV file using Node.js [...]
How to make a page editable in the browser π
There is a special and pretty secret mode in browsers, called design mode. [...]
What are peer dependencies in a Node module? π
A simple explanation of the peerDependencies field in the package.json file [...]
What are good CSS Breakpoint values for Responsive Design? π
The optimal CSS breakpoint values I use in my projects [...]
How to flatten an array in JavaScript π
A practical guide to flattening JavaScript arrays [...]
JavaScript Nullish Coalescing π
An introduction to this feature of JavaScript: nullish coalescing [...]
You should be the worst developer in your team π
Some thoughts on your skill level compared to the people you work with [...]
How to fix the dangerously SetInnerHTML did not match error in React π
Find out how I solved the error "`dangerouslySetInnerHTML` did not match", in a React application [...]
How to get cookies server-side in a Next.js app π
Accessing cookies while server-side rendering in Next.js can be harder than you think. Here's how I solved it. [...]
How to become a Full Stack Developer π
A step by step guide to become a Full Stack Developer [...]
How to render HTML in React π
Find out how to render an HTML string in the DOM without escaping, using React [...]
How to replace white space inside a string in JavaScript π
Find out how to use a regex to replace all white space inside a string using JavaScript [...]
How I prototype a Web Page π
A quick look at a simple workflow I use to prototype a web page [...]
How I fixed the trailing slash in Netlify rewrites π
Netlify has this great feature, rewrites, that allow me to create a number of duplicate pages. But there's a catch. [...]
How to debug a React application π
Some tools you can use to debug your React app when you run into problems [...]
How to use Next.js API Routes π
Learn this powerful technique provided by Next.js to create an API endpoint within a Next.js app [...]
How to use the Next.js Router π
Learn how to use the `next/router` package to control routes in Next.js [...]
The Next.js App Bundles π
How Next.js separates your app code into different bundles, and what do they contain [...]
The icons added by Next.js to your app π
Learn what the icons generated by Next.js in development mode mean [...]
Adding a wrapper component to your Next.js app π
How to use a wrapper component and add a common sidebar or header to it [...]
Lazy loading modules in Next.js π
How to lazy load modules in your Next.js app [...]
How to analyze the Next.js app bundles π
Learn more about what's in your Next.js app bundles [...]
Deploying a Next.js app in production π
How to generate the production version of your Next.js app [...]
Next.js: run code only on the server side or client side in Next.js π
How to write code that's only executed on one side of your stack: frontend or backend [...]
Deploying a Next.js application on Now π
How to use Now to easily and seamlessly deploy your Next.js app [...]
Next.js: populate the head tag with custom tags π
How to customize the `head` tag of your Next.js app [...]
View source to confirm SSR is working in Next.js π
How to check if SSR is working in your Next.js app [...]
Responsive YouTube Video Embeds π
How to embed a YouTube video in your site and have it responsive, so it scales down on a mobile device [...]
How to learn React π
Find out the optimal path to go from zero to being a React master [...]
Using the router to detect the active link in Next.js π
How to using the Next.js Router to detect the active link and assign a class to it, so we can style it with CSS [...]
Prefetching content in Next.js π
How prefetching works in a Next.js app [...]
Styling Next.js components using CSS π
How to style React components in Next.js? [...]
Feed data to a Next.js component using getInitialProps π
How to feed data to a Next.js component using getInitialProps [...]
Dynamic content in Next.js with the router π
How to setup dynamic content in a Next.js site [...]
Linking two pages in Next.js using Link π
How to link two or more pages in Next.js [...]
How to use the React Developer Tools π
Learn this very useful tool we absolutely need to install when building a React application. [...]
JavaScript Optional Chaining π
The optional chaining operator is a very useful operator which we can use to work with objects and their properties or methods [...]
JavaScript Dynamic Imports π
Learn this new, upcoming feature of JavaScript [...]
How to install Next.js π
Step by step instructions to get started with Next.js [...]
Next.js vs Gatsby vs create-react-app π
Next.js or Gatsby? Why choosing them over create-react-app? And which one? [...]
How to use top-level await in JavaScript π
Learn how to use this new feature currently available in v8 [...]
How to calculate the number of days between 2 dates in JavaScript π
I had this problem: how do I calculate the number of days between 2 dates? [...]
I posted my password / API key on GitHub π
Or GitLab, or any other public source control management platform. Now what? [...]
How to iterate over object properties in JavaScript π
Here's a very common task: iterating over an object properties, in JavaScript [...]
How to format a date in JavaScript π
Here's a very common task: how do you format a date with JavaScript? [...]
How to handle file uploads in Node.js π
How to use Node.js and in particular Express to handle uploaded files [...]
How to upload a file using Fetch π
How to upload files to the server using the Fetch API, explained in a simple way [...]
How to get both parsed body and raw body in Express π
Find out how to get both parsed body and raw body in Express with `body-parser` [...]
How to use Firebase Firestore as your database π
A tutorial to set up Firestore as a database, a very convenient solution to your storage problems! [...]
Responsive pre tags in CSS π
I've had some problems with responsiveness in a few posts, on my blog. Turned out it was code snippets [...]
How to get the days between 2 dates in JavaScript π
Given two JavaScript `Date` objects, how can I get a list of the days (expressed as Date objects, too) between those 2 dates? [...]
How to wait for 2 or more promises to resolve in JavaScript π
Say you need to fire up 2 or more promises and wait for their result. How to do that? [...]
How to set an alias in a macOS or Linux shell π
How to set an alias in a UNIX environment, including Bash, Zsh, Fish on both macOS and Linux [...]
JavaScript labeled statements π
A tutorial about a very rarely used JavaScript feature: labeled statements [...]
Cross-component State Management in Svelte π
How to work with Props, the Context API and Stores in Svelte to pass state around your application cross components [...]
Working with events in Svelte π
Learn how to work with events in Svelte [...]
Resolve promises in Svelte templates π
Learn how to work with promises in Svelte templates [...]
Svelte templates: loops π
Learn how to work with loops in Svelte templates [...]
Svelte Lifecycle Events π
How to work with Lifecycle Events in Svelte [...]
How to update a Git branch from another branch π
Given a Git branch that's not up to date with another branch, how do you merge the changes? [...]
How to check if a date refers to a day in the past in JavaScript π
Given a JavaScript date, how do you check if it references a day in the past? [...]
Reactive Statements in Svelte π
How to work with Reactive Statements in Svelte [...]
Handling State Updates in Svelte π
How to use reactive assignments in Svelte to work with state updates within a component [...]
Svelte Bindings π
How to work with bindings in Svelte [...]
How to check if two dates are the same day in JavaScript π
How do you detect if a date object instance in JavaScript refers to the same day of another date object? [...]
How to get the month name from a JavaScript date π
Given a JavaScript Date object instance, how can you get a string that represents the month name? [...]
How to get yesterday's date using JavaScript π
How do you get yesterdays' date using JavaScript? [...]
How to get tomorrow's date using JavaScript π
How do you get tomorrow's date using JavaScript? [...]
How to add comments in Svelte templates π
How to avoid Svelte to render parts of a template to the client [...]
Svelte Slots π
How to work with slots in Svelte to define components that can be composed together [...]
How to rerender a Svelte component on demand π
How to rerender a Svelte component on demand and in particular how to rerender it when I want to run a function prop again [...]
How to invert colors using CSS π
How to invert colors of elements and images using CSS [...]
How to send urlencoded data using Axios π
Learn how to send urlencoded data using Axios [...]
Svelte templates: conditional logic π
Learn how to work with templates in Svelte and in particular how to use conditionals [...]
How to export functions and variables from a Svelte component π
Learn how to export functions and variables from a Svelte component [...]
How to import components in Svelte π
Learn how to import components in Svelte [...]
How to work with props in Svelte π
Learn how to work with props in Svelte and let two components with a parent/child relationship communicate with each other [...]
Getting started with Svelte - a short tutorial π
How to get started with Svelte [...]
How I stopped worrying and learned to love the JavaScript ecosystem π
A journey to solve JavaScript Fatigue [...]
How to spawn a child process with Node.js π
Find out how to spawn a child process with Node.js [...]
How to get last element of an array in JavaScript? π
How do you get the last element of an array in JavaScript? Let's find out. [...]
How to check if a JavaScript value is an array? π
Find out how to determine if a JavaScript value is an array using the `Array.isArray()` method [...]
How to work from home without going crazy π
Some advice from a 10+ years remote working experience [...]
How to join two arrays in JavaScript π
Find out how to merge two or more arrays using JavaScript [...]
How to join two strings in JavaScript π
Find out how to combine strings using JavaScript [...]
Links used to activate JavaScript functions π
Which "href" value should I use for JavaScript links, "#" or "javascript:void(0)"? [...]
What's the difference between using let and var in JavaScript? π
When should you use let over var? And why? Let's find out! [...]
How to install an older version of a Homebrew package π
Installing an older version of some package using Homebrew can be more complex than you expect [...]
How to pass multiple parameters to a partial in Hugo π
How do you pass multiple parameters to a partial in Hugo? It's not as simple as it seems, you need to use a trick. Let's find out. [...]
What is Imposter Syndrome π
What's this syndrome all about? Do you have it? How do you fix the imposter feeling? [...]
How to disable a button using JavaScript π
Find out how to programmatically disable or enable a button using JavaScript [...]
How to copy to the clipboard using JavaScript π
Find out how to copy to the clipboard using JavaScript using the Clipboard API [...]
Why you should not modify a JavaScript object prototype π
Find out why you should not modify a JavaScript object prototype and what to do instead [...]
How to add item to an array at a specific index in JavaScript π
Find out how to add item to an array at a specific index in JavaScript [...]
How to create a comment in HTML π
Find out how to add comments to an HTML page [...]
How to break out of a for loop in JavaScript π
Find out the ways you can use to break out of a for or for..of loop in JavaScript [...]
How to check if an object is empty in JavaScript π
Find out how to see if a variable is equivalent to an empty object [...]
How to return the result of an asynchronous function in JavaScript π
Find out how to return the result of an asynchronous function, promise based or callback based, using JavaScript [...]
How to check if a checkbox is checked using JavaScript? π
Find out how to check the state of a checkbox, looking if it is checked or not, using JavaScript [...]
How to write Unmaintainable Code π
25 actionable tips to write code as unmaintainable as possible [...]
Is JavaScript still worth learning? π
Is there still demand for JS developers? Or is JavaScript becoming obsolete? [...]
What is a port π
Find out what is a port in networking [...]
Cross Site Scripting (XSS) tutorial π
A guide to cross-site scripting attacks. How do they work? How can you prevent them? [...]
== vs === equal operators in JavaScript, what's the difference? π
`==` and `===`, two different operators to check for object equality. Which one to choose? [...]
What does the double negation operator !! do in JavaScript? π
You might find the `!!` operator used in the wild. What does it mean? [...]
Accessibility on the Web π
Discover the basics of accessibility in HTML [...]
How to create an HTML attribute using vanilla Javascript π
What if you have to add an attribute to an HTML element in the DOM, using vanilla JavaScript? [...]
How to check if a JavaScript array contains a specific value π
Given a JavaScript array, how do you check if it contains a specific item? [...]
How to remove all children from a DOM element π
Given a DOM element, how do you remove all its children? [...]
Touch events π
Discover the basics of working with touch events in JavaScript [...]
How to check types in JavaScript without using TypeScript π
Find out how to add types to JavaScript without using TypeScript [...]
HTML container tags π
Discover how to use container tags in HTML and find out which one to choose [...]
How to rename fields when using object destructuring π
Find out how to rename an object field while destructuring [...]
Mouse events π
Discover the basics of working with mouse events in JavaScript [...]
How to put an item at the bottom of its container using CSS π
Find out how to stick an item at the bottom of its container using CSS [...]
How to authenticate using GraphQL Cookies and JWT π
An authentication process example for a GraphQL API powered by Apollo, using Cookies and JWT [...]
Unix Shells Tutorial π
An introduction to Unix shells and how to use them [...]
Keyboard events π
Discover the basics of working with keyboard events in JavaScript [...]
The HTML `figure` tag π
Discover the basics of working with the HTML `figure` tag [...]
Tutorial purgatory from the perspective of a tutorial maker π
How to stop reading tutorials and start doing things [...]
The HTML `picture` tag π
Discover the basics of working with images and the HTML `picture` tag, and how to make them responsive [...]
Handling forms in JavaScript π
Discover the basics of working with forms in HTML and JavaScript [...]
How to work with scrolling on Web Pages π
Discover how to interact with scrolling, react to scroll events and throttle them [...]
Web Components Custom Elements π
An introductory tutorial to Custom Elements [...]
The HTML `a` tag π
Discover the basics of working with the HTML `a` tag to create links [...]
The HTML `img` tag π
Discover the basics of working with images and the HTML `img` tag, and how to make them responsive [...]
How to use the Drag and Drop API π
Discover how to use the Drag and Drop API to create interactive experiences for your users [...]
HTML tables π
Discover the basics of working with HTML tables [...]
HTML tags for text π
Discover the various HTML tags you can use to print text on a page [...]
The HTML `audio` tag π
Discover the basics of working with the HTML `audio` tag [...]
The HTML `video` tag π
Discover the basics of working with the HTML `video` tag [...]
How to use getUserMedia() π
Discover how to use getUserMedia() to get access to audio and video input from the user [...]
HTML forms π
Discover how to use forms in HTML and all the form elements tags [...]
The HTML `iframe` tag π
Discover the basics of working with the HTML `iframe` tag [...]
An introduction to HTML π
Discover HTML from its history and the basic building blocks [...]
How to use the Geolocation API π
Using the Geolocation API we can ask the browser for the user's position coordinates [...]
How to disable text selection using CSS π
Find out how to disable text selection using the CSS property `user-select` [...]
All the software projects I made in the past π
A long list of the projects I made throughout the years [...]
How to use the JavaScript bcrypt library π
Find out how to hash and check passwords in JavaScript with the bcrypt library [...]
The Reach Router Tutorial π
A quickstart to using Reach Router in your React app [...]
JavaScript Symbols π
An easy to follow tutorial to understand JavaScript Symbols [...]
The CSS z-index property π
How to work with the `z-index` property in CSS [...]
How to connect your React app to a backend on the same origin π
How to serve a React and a server-side backend app from the same origin, without having to use CORS on the server and worrying about ports [...]
How to use the useReducer React hook π
Find out what the useReducer React hook is useful for, and how to work with it! [...]
How to use the useContext React hook π
Find out what the useContext React hook is useful for, and how to work with it! [...]
How to use the useRef React hook π
Find out what the useRef React hook is useful for, and how to work with it! [...]
How to use the useMemo React hook π
Find out what the useMemo React hook is useful for, and how to work with it! [...]
useEffect React hook, how to use π
Find out what the useEffect React hook is useful for, and how to work with it! [...]
How to use the useCallback React hook π
Find out what the useCallback React hook is useful for, and how to work with it! [...]
How to use the useState React hook π
Find out what the useState React hook is useful for, and how to work with it! [...]
The Navigator Object π
Find out what is the Navigator object and how to use it [...]
JavaScript Public Class Fields π
A simple tutorial on the new JavaScript Public Class Fields [...]
How to sort an array by date value in JavaScript π
Find out how to sort an array of items by date value in JavaScript [...]
How I record my videos π
A detailed description of how I do my videos. Mostly as a reference to myself. [...]
How to make your first Pull Request on GitHub π
How do you create a PR to edit a project on GitHub? [...]
Have you filled a developer bucket today? π
Or, how to be more fulfilled as a developer. And make other developers have a more fulfilled life too. [...]
JavaScript Private Class Fields π
Introduction and code samples on using private class fields in JavaScript. [...]
How to add an event listener to multiple elements in JavaScript π
Say you want to add an event listener to multiple elements in JavaScript. How can you do so? [...]
How to get the value of a CSS property in JavaScript π
Say you want to fetch the value of a CSS property in a web page, one that is set using a stylesheet. How can you do so? [...]
JavaScript Operators π
Operators allow you to get one or more simple expressions and combine them to form a more complex expression. [...]
The Streams API π
Using streams we can receive a resource from the network, or from other sources, and process it as soon as the first bit arrives [...]
CSS Normalizing π
Why and how to use CSS normalizing [...]
How to create a GraphQL Server with Node.js and Express π
A simple tutorial on how to create a Node.js and Express powered GraphQL server [...]
How to enable ES Modules in Node.js π
How do you enable the `import` syntax in Node.js? [...]
How to get the real number of pageviews of a static site π
Given a static site, how do you get the real count of visitors? [...]
The CSS float property and clearing π
How to work with the `float` property in CSS and with clearing [...]
The JavaScript `in` operator π
Learn the basics of the JavaScript `in` Operator [...]
CSS Padding π
How to work with padding in CSS [...]
How to get the value of an input element in React π
Given a form, how do you get the value of one of the form fields? [...]
CSS Comments π
How to work with comments in CSS [...]
The JavaScript reduce() Function π
The details of the `reduce()` Function in JavaScript [...]
The JavaScript map() Function π
The details of the `map()` Function in JavaScript [...]
The JavaScript filter() Function π
The details of the `filter()` Function in JavaScript [...]
The JavaScript Global Object π
The details of the Global object in JavaScript [...]
JavaScript Error Objects π
The various Error objects you will find in JavaScript [...]
CSS Backgrounds π
Learn how to change the background of an element using CSS [...]
JavaScript Object Properties π
Find out all you need to know about JavaScript Object Properties [...]
JavaScript Recursion π
Learn the basics of Recursion in JavaScript [...]
CSS Box Sizing π
How to work with box sizing in CSS [...]
JavaScript Ternary Operator π
Learn the basics of the JavaScript Ternary Operator [...]
CSS Filters π
How to work with the CSS `filter` property [...]
CSS Error Handling π
How CSS handles errors [...]
Importing a CSS file using @import π
Learn how to import CSS files using the @import directive [...]
CSS Borders π
How to work with borders in CSS [...]
JavaScript Logical Operators π
Learn the basics of the JavaScript Logical Operators [...]
JavaScript Return Values π
Learn the basics of JavaScript Return Values [...]
The JavaScript Spread Operator π
Learn the basics of the JavaScript Spread Operator [...]
The CSS calc() function π
Learn how to work with the CSS calc() function [...]
JavaScript Function Parameters π
Learn the basics of JavaScript Function Parameters [...]
The JavaScript delete Operator π
Learn the basics of the JavaScript delete Operator [...]
The CSS Display property π
How to work with the `display` property in CSS [...]
The JavaScript Switch Conditional π
Learn the basics of the JavaScript Switch Conditional [...]
Styling HTML Tables with CSS π
A brief guide at working with tables in CSS [...]
The JavaScript if/else conditional π
Learn the basics of the JavaScript `if` conditional [...]
JavaScript Equality Operators π
Learn the basics of the JavaScript Equality Operators [...]
JavaScript Type Conversions (casting) π
Learn the basics of JavaScript Type Conversions [...]
CSS Pseudo Elements π
Learn the basics of CSS Pseudo Elements [...]
CSS Pseudo Classes π
Learn the basics of CSS Pseudo Classes [...]
CSS Inheritance π
Learn what CSS Inheritance means and why it's important [...]
CSS Vendor Prefixes π
An overview of the CSS Vendor Prefixes, Autoprefixer and why they are not much relevant going forward [...]
How to style lists using CSS π
Styling lists with CSS [...]
JavaScript Scope π
Learn the basics of JavaScript Scope [...]
The BroadcastChannel API π
Learn the basics of 1-to-many communication using the BroadcastChannel API [...]
CSS Transforms π
How to work with the CSS `transform` property [...]
JavaScript Statements π
Learn the basics of JavaScript Statements [...]
CSS Feature Queries π
How to work with feature queries in CSS [...]
CSS Media Queries and Responsive Design π
How to work with media queries in CSS to build responsive web pages [...]
JavaScript instanceof Operator π
Learn the basics of the JavaScript instanceof Operator [...]
The DataView Object π
Find out what is a DataView object and how to use it [...]
Typed Arrays π
Find out what Typed Arrays are and how to use them [...]
The CSS position property π
How to work with the `position` property in CSS [...]
The URL Object π
Find out what is a URL object and how to use it [...]
JavaScript Operators Precedence Rules π
Learn the basics of the JavaScript Operators Precedence Rules [...]
ArrayBufferView π
Find out what is an ArrayBufferView object and how to use it [...]
ArrayBuffer π
Find out what is an ArrayBuffer and how to use it [...]
The FileList Object π
Find out what is a FileList object and how to use it [...]
JavaScript Comparison Operators π
Learn the basics of the JavaScript Comparison Operators [...]
The CSS Box Model π
How to work with the CSS Box Model [...]
CSS Typography π
How to work with typography in CSS [...]
The FileReader Object π
Find out what is a FileReader object and how to use it [...]
The File Object π
Find out what is a File object and how to use it [...]
JavaScript new Operator π
Learn the basics of the JavaScript new Operator [...]
CSS Colors π
Learn how to work with colors in CSS [...]
JavaScript typeof Operator π
Learn the basics of the JavaScript typeof Operator [...]
JavaScript Internationalization π
Learn how to work with internationalization in JavaScript [...]
CSS Attribute Selectors π
Learn how to use CSS attribute selectors [...]
JavaScript Assignment Operator π
Learn the basics of the JavaScript Assignment Operator [...]
The Blob Object π
Find out what is a Blob and how to use it [...]
CSS Specificity π
Learn what CSS Specificity means and why it's important [...]
CSS Cascade π
Learn what CSS Cascade means and why it's important [...]
CSS Selectors π
Learn all the most important things about CSS Selectors [...]
JavaScript Reference: Object π
All about the JavaScript Object properties and methods [...]
The Object valueOf() method π
Find out all about the JavaScript valueOf() method of an object [...]
The Object toString() method π
Find out all about the JavaScript toString() method of an object [...]
The Object toLocaleString() method π
Find out all about the JavaScript toLocaleString() method of an object [...]
The Object propertyIsEnumerable() method π
Find out all about the JavaScript propertyIsEnumerable() method of an object [...]
How to fix the "Missing write access" error when using npm π
Quickly solve this annoying problem when installing global packages using npm [...]
The Object isPrototypeOf() method π
Find out all about the JavaScript isPrototypeOf() method of an object [...]
The Object hasOwnProperty() method π
Find out all about the JavaScript hasOwnProperty() method of an object [...]
The Object values() method π
Find out all about the JavaScript values() method of the Object object [...]
The Object setPrototypeOf() method π
Find out all about the JavaScript setPrototypeOf() method of the Object object [...]
The Object seal() method π
Find out all about the JavaScript seal() method of the Object object [...]
The Object preventExtensions() method π
Find out all about the JavaScript preventExtensions() method of the Object object [...]
The Object keys() method π
Find out all about the JavaScript keys() method of the Object object [...]
The Object isSealed() method π
Find out all about the JavaScript isSealed() method of the Object object [...]
The Object isFrozen() method π
Find out all about the JavaScript isFrozen() method of the Object object [...]
The Object isExtensible() method π
Find out all about the JavaScript isExtensible() method of the Object object [...]
The Object is() method π
Find out all about the JavaScript is() method of the Object object [...]
The Object getPrototypeOf() method π
Find out all about the JavaScript getPrototypeOf() method of the Object object [...]
The Object getOwnPropertySymbols() method π
Find out all about the JavaScript getOwnPropertySymbols() method of the Object object [...]
The Object getOwnPropertyNames() method π
Find out all about the JavaScript getOwnPropertyNames() method of the Object object [...]
The Object getOwnPropertyDescriptors() method π
Find out all about the JavaScript getOwnPropertyDescriptors() method of the Object object [...]
How to be productive π
Productivity tips and hacks for developers and writers [...]
The Object getOwnPropertyDescriptor() method π
Find out all about the JavaScript getOwnPropertyDescriptor() method of the Object object [...]
The Object freeze() method π
Find out all about the JavaScript freeze() method of the Object object [...]
The Object entries() method π
Find out all about the JavaScript entries() method of the Object object [...]
The Object defineProperty() method π
Find out all about the JavaScript defineProperty() method of the Object object [...]
The Object defineProperties() method π
Find out all about the JavaScript defineProperties() method of the Object object [...]
The Object create() method π
Find out all about the JavaScript create() method of the Object object [...]
The Object assign() method π
Find out all about the JavaScript assign() method of the Object object [...]
JavaScript Property Descriptors π
An explanation of property descriptors and what they are useful for [...]
JavaScript Reference: Number π
All about the JavaScript Number properties and methods [...]
The Number isFinite() method π
Find out all about the JavaScript isFinite() method of the Number object [...]
The Number toFixed() method π
Find out all about the JavaScript toFixed() method of a number [...]
The Number toLocaleString() method π
Find out all about the JavaScript toLocaleString() method of a number [...]
The Number toExponential() method π
Find out all about the JavaScript toExponential() method of a number [...]
The Number toPrecision() method π
Find out all about the JavaScript toPrecision() method of a number [...]
The Number valueOf() method π
Find out all about the JavaScript valueOf() method of a number [...]
The Number toString() method π
Find out all about the JavaScript toString() method of a number [...]
The Number parseInt() method π
Find out all about the JavaScript parseInt() method of the Number object [...]
The Number parseFloat() method π
Find out all about the JavaScript parseFloat() method of the Number object [...]
The Number isSafeInteger() method π
Find out all about the JavaScript isSafeInteger() method of the Number object [...]
The Number isNaN() method π
Find out all about the JavaScript isNaN() method of the Number object [...]
The Number isInteger() method π
Find out all about the JavaScript isInteger() method of the Number object [...]
JavaScript Reference: String π
All about the JavaScript String properties and methods [...]
The String valueOf() method π
Find out all about the JavaScript valueOf() method of a string [...]
Memoization in JavaScript π
An introduction to memoization in JavaScript [...]
The String trimStart() method π
Find out all about the JavaScript trimStart() method of a string [...]
The String trimEnd() method π
Find out all about the JavaScript trimEnd() method of a string [...]
The String trim() method π
Find out all about the JavaScript trim() method of a string [...]
The String toUpperCase() method π
Find out all about the JavaScript toUpperCase() method of a string [...]
The String toString() method π
Find out all about the JavaScript toString() method of a string [...]
How to debug CSS by bisecting π
One of the workflows I use to debug CSS [...]
The String toLowerCase() method π
Find out all about the JavaScript toLowerCase() method of a string [...]
The String toLocaleUpperCase() method π
Find out all about the JavaScript toLocaleUpperCase() method of a string [...]
Introduction to Puppeteer π
Introduction to programmatically controlling Chrome from Node.js [...]
The String toLocaleLowerCase() method π
Find out all about the JavaScript toLocaleLowerCase() method of a string [...]
The String substring() method π
Find out all about the JavaScript substring() method of a string [...]
The String startsWith() method π
Find out all about the JavaScript startsWith() method of a string [...]
Web Scraping using Node.js and Puppeteer π
A short introductory tutorial to Web Scraping [...]
The String split() method π
Find out all about the JavaScript split() method of a string [...]
The String slice() method π
Find out all about the JavaScript slice() method of a string [...]
Arduino vs Raspberry Pi π
A comparison of two of the most popular platforms to tinker with [...]
The String repeat() method π
Find out all about the JavaScript repeat() method of a string [...]
The String padStart() method π
Find out all about the JavaScript padStart() method of a string [...]
Making a table responsive using CSS π
A practical way to make tables display nice on mobile [...]
The String padEnd() method π
Find out all about the JavaScript padEnd() method of a string [...]
The String normalize() method π
Find out all about the JavaScript normalize() method of a string [...]
The String match() method π
Find out all about the JavaScript match() method of a string [...]
The String localeCompare() method π
Find out all about the JavaScript localeCompare() method of a string [...]
The UNIX Filesystem Commands π
A brief guide to the UNIX filesystem commands [...]
The String lastIndexOf() method π
Find out all about the JavaScript lastIndexOf() method of a string [...]
The String indexOf() method π
Find out all about the JavaScript indexOf() method of a string [...]
The String includes() method π
Find out all about the JavaScript includes() method of a string [...]
UNIX Editors π
A brief guide to the UNIX editors [...]
The String endsWith() method π
Find out all about the JavaScript endsWith() method of a string [...]
The String concat() method π
Find out all about the JavaScript concat() method of a string [...]
The String codePointAt() method π
Find out all about the JavaScript codePointAt() method of a string [...]
The Node.js Runtime v8 options list π
All the possible options you can use when you start a Node.js program [...]
The String charCodeAt() method π
Find out all about the JavaScript charCodeAt() method of a string [...]
The String charAt() method π
Find out all about the JavaScript charAt() method of a string [...]
The ES2019 Guide π
ECMAScript is the standard upon which JavaScript is based, and it's often abbreviated to ES. Discover everything about ECMAScript, and the features ad [...]
How I run little JavaScript snippets π
The tools I use to run my JavaScript when testing or trying out things [...]
How to exit Vim π
Let me help you finally exit Vim! [...]
The String search() method π
Find out all about the JavaScript search() method of a string [...]
The String replace() method π
Find out all about the JavaScript replace() method of a string [...]
Configuring the macOS command line π
How to set up the macOS terminal from zero to a perfect tool for you day to day development [...]
Configuring VS Code π
How to set up VS Code from zero to a perfect tool for JavaScript development [...]
Everyone can learn programming π
Just like everyone can learn the math basics. Or just like everyone can learn how to drive a car, or learn how to use a smartphone [...]
Do I need a degree to be a programmer? π
No. I have a degree and I can safely say that a degree is not a pre-requisite to being a programmer. [...]
Why interview questions for programming jobs are so difficult? π
I have to say I hate programming interview questions. Why they are so difficult? [...]
Why use a preview version of a browser? π
Find out why is it a good thing to use Chrome Canary, Firefox Nightly or Safari Technology Preview [...]
How to list all methods of an object in JavaScript π
Find out how to get an array with a JavaScript object methods [...]
Does programming require knowing math? π
You can be a great programmer even if you were bad at math in school [...]
What is pnpm? π
Introduction to pnpm, the drop in npm replacement that saves you disk space [...]
Shell, watch file content as it populates π
A brief guide to the `tail` UNIX command line tool [...]
How to solve the unexpected identifier error when importing modules in JavaScript π
My advice on solving this problem I encountered [...]
The node_modules folder size is not a problem. It's a privilege π
My thoughts on the node_modules folder size debate [...]
JavaScript Generators Tutorial π
Generators are a special kind of function with the ability to pause itself, and resume later, allowing other code to run in the meantime. [...]
Should I write comments? π
Thoughts on commenting code, and on commenting the right way [...]
How to learn how to learn π
Notes and observations on how to learn things quicker and in a more effective way [...]
React, how to transfer props to child components π
How to pass all props a components gets from its parent, to its own children, in React [...]
Conditional rendering in React π
How to dynamically output something vs something else in React [...]
How to return multiple elements in JSX π
How to workaround that the limitation that JSX has when having to return multiple elements from a component [...]
How to handle errors in React π
Best practices to handle errors in React using error boundaries [...]
Casting in JavaScript π
How to cast from one data type to another in JavaScript [...]
How to style DOM elements using JavaScript π
The ways you can apply styling to elements on the page, dynamically, using plain JavaScript [...]
Loosely typed vs strongly typed languages π
The key differences between using a loosely typed language compared to a strongly typed languages [...]
Passing undefined to JavaScript Immediately-invoked Function Expressions π
Sometimes you can spot old code in the wild where `undefined` is passed to a function. Why? [...]
How to pass a parameter to event handlers in React π
Find out how to pass a parameter to onClick events for example, without invoking the method on mount [...]
The Fish Shell π
An introduction to the Fish shell [...]
Introduction to Bash Shell Scripting π
A detailed overview to scripting the Bash Shell [...]
The Bash shell π
A user introduction to the Bash shell [...]
How to continuously rotate an image using CSS π
How to use CSS Animations to continuously rotate an image [...]
Dynamically select a method of an object in JavaScript π
Learn how to access a method of an object dynamically in JavaScript [...]
TypeScript Tutorial π
TypeScript is one of the fastest rising technologies of 2018. It's everywhere, everyone talks about it. This article guides you towards understanding [...]
How to estimate programming time π
The fine art of estimating how long it takes to create software [...]
How to discover a bug using git bisect π
How I debug almost all problems that involve a long history of changes, tracked using Git, and discover when you introduced a bug in your code [...]
The pros of using a boring stack π
Why I think choosing a boring stack is important in programming [...]
The definitive guide to debugging JavaScript π
Learn how to debug JavaScript using the browser DevTools debugger [...]
Testing React components π
Test your first React component using Jest and `react-testing-library` [...]
Destructuring Objects and Arrays in JavaScript π
Learn how to use the destructuring syntax to work with arrays and objects in JavaScript [...]
Work with objects and arrays using Rest and Spread π
Learn two modern techniques to work with arrays and objects in JavaScript [...]
Introduction to PeerJS, the WebRTC library π
Working with WebRTC can be hard. PeerJS is an awesome library that makes WebRTC easier [...]
React Render Props π
Learn how Render Props can help you build a React application [...]
React Portals π
Find out how to use React Portals [...]
React StrictMode π
What is React StrictMode and how to use it [...]
What is Serverless? π
What is serverless and why should you care? [...]
Netlify Lambda Functions Tutorial π
How to use Netlify Lambda Functions and add dynamic processing to JAMstack sites [...]
Handling Forms in React π
How to handle forms in a React application [...]
Using SASS in React π
How to use SASS to style a React application [...]
CSS in React π
How to use CSS to style a React application [...]
How to install React π
How to install React on your development computer [...]
Server Side Rendering with React π
What is Server Side Rendering? How to do it with React? [...]
How I added Dark Mode to my website π
The step by step instructions to make 2 versions of your website, to make it perfect for both day and night use [...]
Code Splitting in React π
What is Code Splitting and how to introduce it in a React app [...]
React: Presentational vs Container Components π
The difference between Presentational and Container Components in React [...]
React Concept: Composition π
What is composition and why is it a key concept in your React apps [...]
Introduction to create-react-app π
create-react-app is the easiest way to start up a React application [...]
How to only accept images in an input file field π
When adding a file field to a form, you might want to limit the selector to images [...]
Introduction to React Hooks π
Learn how Hooks can help you build a React application [...]
React Concept: Purity π
What is purity, a pure function and a pure component [...]
React Concept: Immutability π
What is immutability? And how does it fit in the React world? [...]
React Lifecycle Events π
Find out the React Lifecycle events and how you can use them [...]
JSON Web Token (JWT) explained π
Learn the basics of JWT and how to use them [...]
React Higher Order Components π
Find out what Higher Order Components are and how they are useful when programming a React application [...]
The HTTP/2 protocol π
A detailed description of how the HTTP/2 protocol works [...]
call() and apply() in JavaScript π
Find out how to use call() and apply() and their difference in JavaScript [...]
Unidirectional Data Flow in React π
Working with React you might encounter the term Unidirectional Data Flow. What does it mean? [...]
How to reference a DOM element in React π
Find out how to ref a DOM element in React [...]
How to count the number of properties in a JavaScript object π
Find out how to calculate how many properties has a JavaScript object [...]
How to sort an array of objects by a property value in JavaScript π
Let's find out how to sort an array of objects by a property value in JavaScript! [...]
How to set default parameter values in JavaScript π
Find out how to add a default parameter value into a JavaScript function [...]
How to encode a URL with JavaScript π
You might need to encode a URL if you are sending it as part of a GET request, for example. [...]
How to empty a JavaScript array π
Given a JavaScript array, see how to clear it and empty all its elements [...]
How to replace a DOM element π
Given a DOM element, how do you replace it with another? [...]
How to get the scroll position of an element in JavaScript π
When you are building a user interface in the browser, you might have an element which can be scrolled, and it's a common need to know the horizontal [...]
How to merge two objects in JavaScript π
Find out how to merge 2 JavaScript objects and create a new object that combines the properties [...]
Introduction to Gatsby π
Gatsby is a platform for building apps and websites using React [...]
What is a CDN? π
Discover what is a CDN and why it's useful [...]
What is the JAMstack? π
Find out what does JAMstack mean, and the advantages of this set of technologies [...]
Use the Chrome DevTools to debug a Node.js app π
When we're programming it's common to have the need to quickly test and do some experiments with a piece of code. [...]
How to use MongoDB with Node.js π
In this tutorial I'll show you how to interact with a MongoDB database from Node.js [...]
How MongoDB is different from a SQL database π
Generally speaking there are 2 major types of databases: SQL databases, and NoSQL databases [...]
The MongoDB basics tutorial π
MongoDB is a database, the part of the application responsible for storing and retrieving information. [...]
How to use the macOS terminal π
The terminal is one key piece of your programming arsenal. It allows you to perform tasks that are otherwise impossible to achieve. [...]
How to hide a DOM element using plain JavaScript π
Find out how to hide and then show again elements in vanilla JavaScript [...]
Should you use or learn jQuery in 2020? π
To use or not to use? To learn or not to learn? Let's see how you can avoid jQuery altogether, and the reasons you should keep using it [...]
WebRTC, the Real Time Web API π
How to use WebRTC to create a direct webcam communication application with this simple tutorial [...]
How much JavaScript you need to know to use React? π
Find out if you have to learn something before diving into learning React [...]
How to hide the address bar in Chrome π
Useful for screenshots and screencasts, or just to increase the real estate of your screen [...]
The JSONP Guide π
JSONP is a way to load data from 3rd party servers, bypassing the same-origin policy [...]
Introduction to JSON π
JSON is a great format to store data, widely used in JavaScript but not only - discover all about it! [...]
An introduction to WebAssembly π
Discover why WebAssembly is a very important part of the Web platform of the future [...]
What is a Single Page Application? π
Modern Web Applications are also called Single Page Applications. What does this mean? [...]
Should you use Vue or React? π
Many people asked me to write my opinion on React vs Vue.js. Here are my thoughts. [...]
Should you use jQuery or React? π
The tl;dr is, it depends! [...]
Props vs State in React π
What's the difference between state and props in React? [...]
How to loop inside React JSX π
How to do a loop in a React component [...]
React: How to show a different component on click π
Toggle the visibility of components by telling React to display another component when you click something [...]
HTML Canvas API Tutorial π
A guide to the Canvas API, one way offered by browsers to draw to the screen [...]
React concepts: declarative π
What does it mean when you read that React is declarative [...]
React PropTypes π
How to use PropTypes to set the required type of a prop [...]
The React Context API π
The Context API is a neat way to pass state across the app without having to use props [...]
The React Fragment π
How to use React.Fragment to create invisible HTML tags [...]
React Props π
How to use props to pass data around your React components [...]
The React State π
How to interact with the state of your components [...]
React Events π
Learn how to interact with events in a React application [...]
The Virtual DOM π
The Virtual DOM is a technique that React uses to optimize interacting with the browser [...]
React Components π
A brief introduction to React Components [...]
Introduction to React π
An introduction to the React view library [...]
Add click event to DOM elements returned from querySelectorAll π
How to iterate a NodeList and attach an event listener to each element [...]
How to change a DOM node value π
Given a DOM element, how do you change its value? [...]
How to check if a DOM element has a class π
How do you check if a particular DOM element you have the reference of, has a class? [...]
How to remove a class from a DOM element π
TL;DR: Use the remove() method on element.classList [...]
How to generate a random number between two numbers in JavaScript π
The simplest possible way to randomly pick a number between two [...]
How to loop over DOM elements from querySelectorAll π
TL;DR: Use the for..of loop [...]
How to add a class to a DOM element π
TL;DR: Use the add() method on element.classList [...]
How to wait for the DOM ready event in plain JavaScript π
How to run JavaScript as soon as we can, but not sooner [...]
Async vs sync code π
The difference between running code synchronously or asynchronously [...]
Why should you use Node.js in your next project? π
When is it a good idea to use Node.js over other technologies? Why Node.js and not another solution? This post aims to answer that question. [...]
How to write a JSON object to file in Node.js π
Discover how to save a JSON object to file in Node.js, and retrieve it later [...]
How to determine if a date is today in JavaScript π
Discover how to find out if a Date object represents a today datetime [...]
How to get the last updated date of a file using Node.js π
Discover how to retrieve the last updated date of a file with Node.js [...]
How to use Async and Await with Array.prototype.map() π
Using async/await combined with map() can be a little tricky. Find out how. [...]
How to remove a file with Node.js π
Discover how to remove a file from the filesystem with Node.js [...]
How to create an empty file in Node.js π
Discover how create an empty file in a filesystem folder in Node.js [...]
The HTTP Status Codes List π
Every HTTP response comes with a status code that signals with a clear number information about how the request was processed [...]
Caching in HTTP π
A detailed description of the caching options available through the HTTP protocol [...]
The curl guide to HTTP requests π
curl is an awesome tool that lets you create network requests from the command line [...]
The HTTPS protocol π
The HTTPS protocol is an extension of HTTP, the Hyper Text Transfer Protocol, that provide secure communication [...]
The HTTP protocol π
A detailed description of how the HTTP protocol, and the Web, work [...]
The ES2018 Guide π
ECMAScript is the standard upon which JavaScript is based, and it's often abbreviated to ES. Discover everything about ECMAScript, and the features ad [...]
What is an RFC? π
RFCs, Request for Comments, are publications from the technology community [...]
The ES2017 Guide π
ECMAScript is the standard upon which JavaScript is based, and it's often abbreviated to ES. Discover everything about ECMAScript, and the features ad [...]
How to initialize a new array with values in JavaScript π
Find out how you can initialize a new array with a set of values in JavaScript [...]
The ES2016 Guide π
ECMAScript is the standard upon which JavaScript is based, and it's often abbreviated to ES. Discover everything about ECMAScript, and the features ad [...]
How to get the current URL in JavaScript π
Find out the ways JavaScript offers you to get the current URL that's opened in the browser [...]
The ES6 Guide π
ECMAScript is the standard upon which JavaScript is based, and it's often abbreviated to ES. Discover everything about ECMAScript, and the features ad [...]
How to create a multiline string in JavaScript π
Discover how to create a multiline string [...]
The best podcasts for frontend developers π
Some nice podcasts to listen to while commuting or in general when you are away from keyboard [...]
How to check if a string starts with another in JavaScript π
Checking if a string starts with another substring is a common thing to do. See how to perform this check in JavaScript [...]
How to get the unique properties of a set of objects in a JavaScript array π
Given an array of objects, here's what you can do if you want to get the values of a property, but not duplicated. [...]
How to validate an email address in JavaScript π
There are lots of ways to validate an email address. Learn the correct way, and also find out all the options you have, using plain JavaScript [...]
How to check if a file exists in Node.js π
How to check if a file exists in the filesystem using Node.js, using the `fs` module [...]
Remote working for software developers π
Is remote working making you a more effective developer? A happier developer? How can you improve? [...]
Node, the difference between development and production π
Learn how to set up different configurations for production and development environments [...]
Manage Cookies with Express π
How to use the `Response.cookie()` method to manipulate your cookies [...]
Handling CORS in Express π
How to allow cross site requests by setting up CORS [...]
Handling file uploads in forms using Express π
How to manage storing and handling files uploaded via forms, in Express [...]
The idea is nothing π
Ideas are worthless. Execution plus idea is everything. [...]
Handling forms in Express π
How to process forms using Express [...]
Work with HTTP headers in Express π
Learn how to access and change HTTP headers using Express [...]
Setup Let's Encrypt for Express π
How to set up HTTPS using the popular free solution Let's Encrypt [...]
Express Middleware π
A piece of middleware is a function that hooks into the routing process, performing an arbitrary operation at some point in the chain (depending on wh [...]
Handling redirects with Express π
How to redirect to other pages server-side [...]
Retrieve the POST query parameters using Express π
Found out how to retrieve the POST query parameters using Express [...]
The Node events module π
The events module of Node.js provides the EventEmitter class [...]
The Node os module π
The os module of Node.js provides useful functions to interact with underlying system [...]
Express, Request Parameters π
A handy reference to all the request object properties and how to use them [...]
How to exit from a Node.js program π
Learn how to terminate a Node.js app in the best possible way [...]
How to read environment variables from Node.js π
Learn how to read and make use of environment variables in a Node.js program [...]
The Pug Guide π
How to use the Pug templating engine [...]
An Express HTTPS server with a self-signed certificate π
How to create a self-signed HTTPS certificate for Node.js to test apps locally [...]
Error handling in Node.js π
How to handle errors during the execution of a Node.js application [...]
Routing in Express π
Routing is the process of determining what should happen when a URL is called, or also which parts of the application should handle a specific incomin [...]
Send files using Express π
Express provides a handy method to transfer a file as attachment: `Response.download()` [...]
Send a response using Express π
How to send a response back to the client using Express [...]
Express Sessions π
How to use sessions to identify users across requests [...]
Send a JSON response using Express π
How to serve JSON data using the Node.js Express library [...]
Serving Static Assets with Express π
How to serve static assets directly from a folder in Express [...]
Express Templates π
Express is capable of handling server-side template engines. Template engines allow us to add data to a view, and generate HTML dynamically. [...]
Validating input in Express using express-validator π
Learn how to validate any data coming in as input in your Express endpoints [...]
The basics of working with MySQL and Node π
MySQL is one of the most popular relational databases in the world. Find out how to make it work with Node.js [...]
Using WebSockets with Node.js π
WebSockets are an alternative to HTTP communication in Web Applications. They offer a long lived, bidirectional communication channel between client a [...]
The Node http module π
The http module of Node.js provides useful functions and classes to build an HTTP server [...]
The Node path module π
The path module of Node.js provides useful functions to interact with file paths [...]
Working with folders in Node π
How to interact with folders using Node [...]
Working with file descriptors in Node π
How to interact with file descriptors using Node [...]
Node file stats π
How to get the details of a file using Node [...]
Writing files with Node π
How to write files using Node [...]
Node File Paths π
How to interact with file paths and manipulate them in Node [...]
Reading files with Node π
How to read files using Node and the `fs` module [...]
HTTP requests in Node using Axios π
Axios is a very convenient JavaScript library to perform HTTP requests in Node.js [...]
The Node fs module π
The fs module of Node.js provides useful functions to interact with the file system [...]
Making HTTP requests with Node π
How to perform HTTP requests with Node.js using GET, POST, PUT and DELETE [...]
Build an HTTP Server π
How to build an HTTP server with Node.js [...]
The Node Event emitter π
How to work with custom events in Node [...]
Understanding setImmediate() π
The Node.js setImmediate function interacts with the event loop in a special way [...]
Understanding process.nextTick() π
The Node.js process.nextTick function interacts with the event loop in a special way [...]
The Node.js Event Loop π
The Event Loop is one of the most important aspects to understand about Node [...]
npm dependencies and devDependencies π
When is a package a dependency, and when is it a dev dependency? [...]
npm global or local packages π
When is a package best installed globally? Why? [...]
Uninstalling npm packages with `npm uninstall` π
How to uninstall an npm Node package, locally or globally [...]
Accept input from the command line in Node π
How to make a Node.js CLI program interactive using the built-in readline Node module [...]
Output to the command line using Node π
How to print to the command line console using Node, from the basic console.log to more complex scenarios [...]
Node, accept arguments from the command line π
How to accept arguments in a Node.js program passed from the command line [...]
How to use the Node.js REPL π
REPL stands for Read-Evaluate-Print-Loop, and it's a great way to explore the Node features in a quick way [...]
How much JavaScript do you need to know to use Node? π
If you are just starting out with JavaScript, how much deeply do you need to know the language? [...]
How to install Node.js π
How you can install Node.js on your system: a package manager, the official website installer or nvm [...]
A brief history of Node.js π
A look back on the history of Node.js from 2009 to today [...]
Node Buffers π
Learn what Node buffers are, what they are used for, how to use them [...]
Get HTTP request body data using Node π
Find out how to extract the data sent as JSON through an HTTP request body using Node [...]
Make an HTTP POST request using Node π
Find out how to make an HTTP POST request using Node [...]
Differences between Node and the Browser π
How writing JavaScript application in Node.js differs from programming for the Web inside the browser [...]
Expose functionality from a Node file using exports π
How to use the module.exports API to expose data to other files in your application, or to other applications as well [...]
How to log an object in Node π
Logging objects in Node.js [...]
How to get the current folder in Node π
The two ways of referencing the filesystem: ./ and __dirname, explained [...]
Install an older version of an npm package π
Learn how to install an older version of an npm package, something that might be useful to solve a compatibility problem [...]
Node.js Streams π
Learn what streams are for, why are they so important, and how to use them. [...]
Find the installed version of an npm package π
How to find out which version of a particular package you have installed in your app [...]
Parsing JSON with Node.js π
How to parse JSON from a string, and how to read a JSON file in Node.js [...]
Update all the Node dependencies to their latest version π
How do you update all the npm dependencies store in the package.json file, to their latest version available? [...]
Retrieve the GET query string parameters using Express π
The query string is the part that comes after the URL path and starts with a question mark ('?'). Let's see how to get the properties and their values [...]
Should you commit the node_modules folder to Git? π
That's a good question to have. There are pros and cons. I discuss the topic so you can make your own opinion. [...]
Semantic Versioning using npm π
Semantic Versioning is a convention used to provide a meaning to versions [...]
The package-lock.json file π
The package-lock.json file is automatically generated when installing node packages. Learn what it's about [...]
How to use or execute a package installed using npm π
How to include and use in your code a package installed in your node_modules folder [...]
How to update Node.js π
Find out how to properly upgrade the Node.js version you have installed [...]
Where does npm install the packages? π
How to find out where npm installs the packages [...]
The package.json guide π
The package.json file is a key element in lots of app codebases based on the Node.js ecosystem. [...]
Quotes in JavaScript π
An overview of the quotes allowed in JavaScript and their unique features [...]
The JavaScript Cookbook π
The JavaScript cookbook contains lots of useful how-to articles that explain how to perform common things in JavaScript [...]
HTTP vs HTTPS π
Explore the main differences between HTTP and HTTPS, see why HTTPS is faster and better for everything [...]
The HTTP Response Headers List π
Every HTTP response has a set of headers. This post aims to list all those headers, and describe them [...]
The HTTP Request Headers List π
Every HTTP request has a set of mandatory and optional headers. This post aims to list all those headers, and describe them. [...]
How HTTP requests work π
What happens when you type an URL in the browser, from start to finish [...]
How to use JavaScript Classes π
In 2015 the ECMAScript 6 (ES6) standard introduced classes. Learn all about them [...]
JavaScript Exceptions π
When the code runs into an unexpected problem, the JavaScript idiomatic way to handle this situation is through exceptions [...]
JavaScript Prototypal Inheritance π
JavaScript is quite unique in the popular programming languages landscape because of its usage of prototypal inheritance. Let's find out what that mea [...]
How to make your JavaScript functions sleep π
Learn how to make your function sleep for a certain amount of time in JavaScript [...]
8 good reasons to become a software developer π
Why becoming a software engineer is a good plan for your future career [...]
Generate random and unique strings in JavaScript π
How I created an array of 5000 unique strings in JavaScript [...]
How to setup the Git SSH keys π
When working with Git using the command line, the most common way to handle authentication is through the use of SSH keys. Find out how to set them up [...]
The npx Node Package Runner π
npx is a very cool way to run Node code, and provides many useful features [...]
The JavaScript Math library π
The Math object contains lots of utilities math-related. This tutorial describes them all [...]
The JavaScript Arithmetic operators π
Performing math operations and calculus is a very common thing to do with any programming language. JavaScript offers several operators to help us wor [...]
Semicolons in JavaScript π
JavaScript semicolons are optional. I personally like avoiding using semicolons in my code, but many people prefer them. [...]
Roadmap to become a Vue.js 2 developer in 2020 π
This is a graph I made with the technologies that will make you a well-rounded developer proficient in Vue.js programming. [...]
Vue 2, why data must be a function π
Using Vue you might surely asked yourself the question 'why must data be a function that returns an object, and not just an object?' [...]
Vue 2, how to use v-model π
The v-model Vue directive allows us to create a two-way binding. Learn how to use it [...]
How to dynamically apply a class using Vue 2 π
Learn how to make Vue output a class or another depending on some condition [...]
Store Vue data to localStorage using Vuex π
Learn how to store Vuex data automatically to localStorage or sessionStorage [...]
The Vue.js 2 Cheat Sheet π
Common commands and instructions you'll use in your day-to-day Vue.js coding sessions [...]
The Tailwind Cheat Sheet π
Reference list of common CSS properties you'll want to use in Tailwind, and their relative classes [...]
A Moment.js tutorial π
Moment.js is a great help in managing dates in JavaScript [...]
The definitive guide to JavaScript Dates π
Working with dates in JavaScript can be complicated. Learn all the quirks and how to use them. [...]
How to inspect a JavaScript object π
Find out the ways JavaScript offers you to inspect an object (or any other kind of value) [...]
How to trim the leading zero in a number in JavaScript π
If you have a number with a leading zero, like 010 or 02, how to remove that zero? [...]
Dynamically show a Vue 2 component π
Using Vue you define the application layout using components. In the beginning you manually place components where you want, but at some point you nee [...]
A quick reference guide to Modern JavaScript Syntax π
Many times, code samples are using the latest JavaScript features available. Sometimes those features can be hard to be distinguished from a framework [...]
How to replace all occurrences of a string in JavaScript π
Find out the proper way to replace all occurrences of a string in plain JavaScript, from regex to other approaches [...]
Run package.json scripts upon any file changes in a folder π
This article explains how to make a package.json script re-run whenever a file in a folder changes. [...]
How to setup Tailwind with PurgeCSS and PostCSS π
How I set up my workflow to trim the Tailwind CSS using PurgeCSS and a simple PostCSS setup (no webpack involved) [...]
The Vue 2 Router π
How to use the Vue Router, one of the essential pieces of a Vue application [...]
The V8 JavaScript Engine π
V8 is the name of the JavaScript engine that powers Google Chrome. It's the thing that takes our JavaScript and executes it while browsing with Chrome [...]
Emmet Tutorial π
Emmet is a pretty cool tool that helps you write HTML very very fast. It's like magic. Emmet is not something new, it's been around for years and ther [...]
Using Tailwind with Vue.js 2 π
This article explains how to set up Tailwind for usage in a Vue CLI 3 project [...]
How to use SCSS with Vue.js 2 Single File Components π
Find out how to enable SCSS into your Vue.js components [...]
Parcel, a simpler webpack π
Parcel is a Web Application Bundler. It's in the same tool category of webpack, with a different value proposition. Parcel promises to do many things [...]
Vue 2, how to use a prop as the class name π
Sometimes you pass a prop to a component, and you want to use that prop value as the class name. How to do that? [...]
Vue 2, use a component inside another component π
Here's how to import a component inside another component in Vue.js [...]
Vuex, the Vue.js 2 State Manager π
Vuex is the official state management library for Vue.js. In this tutorial I'm going to explain its basic usage. [...]
Vue.js 2 Components Communication π
How you can make components communicate in a Vue.js application. [...]
Vue.js 2 Events π
Vue.js allows us to intercept any DOM event by using the v-on directive on an element. This topic is key to making a component interactive [...]
JavaScript Asynchronous Programming and Callbacks π
JavaScript is synchronous by default, and is single threaded. This means that code cannot create new threads and run in parallel. Find out what asynch [...]
Vue.js 2 Component Props π
Props are used to pass down state to child components. Learn all about them [...]
Introduction to Electron π
Learn the basics of Electron, the framework built by GitHub that powers a lot of innovative and very popular cross-platform applications [...]
Vue.js 2 Slots π
Slots help you position content in a component, and allow parent components to arrange it. [...]
Introduction to CommonJS π
The CommonJS module specification is the standard used in Node.js for working with modules. Modules are very cool, because they let you encapsulate al [...]
Introduction to ES Modules π
ES Modules is the ECMAScript standard for working with modules. While Node.js has been using the CommonJS standard since years, the browser never had [...]
Vue.js 2 Components π
Components are single, independent units of an interface. They can have their own state, markup and style. [...]
Vue.js 2 Filters π
Filters are the way Vue.js lets us apply formatting and transformations to a value that's used in a template interpolation. [...]
Vue 2 methods vs watchers vs computed properties π
Vue.js provides us methods, watchers and computed properties. When to use one vs the other? [...]
Vue.js 2 Watchers π
A Vue watcher allows you to listen to the component data and run whenever a particular property changes [...]
Styling Vue.js 2 components using CSS π
Learn all the options at your disposal to style Vue.js components using CSS [...]
The stack I use to run this blog π
In this post I describe how I run my blog [...]
Vue.js 2 Computed Properties π
Learn how you can use Vue Computed Properties to cache calculations [...]
Vue.js 2 Methods π
A Vue method is a function associated with the Vue instance. Methods are defined inside the `methods` property. Let's see how they work. [...]
Vue.js 2 Directives π
Vue.js uses a templating language that's a superset of HTML. We can use interpolation, and directives. This article explains directives. [...]
Vue.js 2 templates and interpolations π
Vue.js uses a templating language that's a superset of HTML. Any HTML is a valid Vue.js template, and in addition to that, Vue.js provides two powerfu [...]
Vue.js 2 Single File Components π
Learn how Vue helps you create a single file that is responsible for everything that regards a single component, centralizing the responsibility for t [...]
Create your first app with Vue.js 2 π
If you've never created a Vue.js application, I am going to guide you through the task of creating one, and understanding how it works. The app we're [...]
Configuring VS Code for Vue Development π
VS Code is one of the most used code editors in the world right now. When you're such a popular editor, people build nice plugins. One of such plugins [...]
How to use VS Code π
VS Code, VSCode for friends, is an incredibly powerful editor that's hugely growing in popularity. Find out why, and its main features for developers [...]
The Vue.js DevTools π
Vue has a great panel that integrates into the Browser Developer Tools, which lets you inspect your application and interact with it, to ease debuggin [...]
The Vue.js 2 CLI: learn how to use it π
Vue is a very impressive project, and in addition to the core of the framework, it maintains a lot of utilities that make a Vue programmer's life easi [...]
An overview of Vue.js 2 π
Vue is a very impressive project. It's a very popular JavaScript framework, one that's experiencing a huge growth. It is simple, tiny and very perform [...]
Express, a popular Node.js Framework π
Express is a Node.js Web Framework. Node.js is an amazing tool for building networking services and applications. Express builds on top of its feature [...]
How to check if a JavaScript object property is undefined π
In a JavaScript program, the correct way to check if an object property is undefined is to use the `typeof` operator. See how you can use it with this [...]
How to append an item to an array in JavaScript π
Find out the ways JavaScript offers you to append an item to an array, and the canonical way you should use [...]
The CSS Guide π
CSS is the language that defines the visual appearance of an HTML page in the browser. Learn all about CSS, from the zero to flexbox, CSS Grid and CSS [...]
Introduction to CSS π
CSS is the language that defines the visual appearance of an HTML page in the browser. It's evolving quickly, and thanks to the newest features, CSS h [...]
How to remove a property from a JavaScript object π
There are various ways to remove a property from a JavaScript object. Find out the alternatives and the suggested solution [...]
How to redirect to another web page using JavaScript π
JavaScript offers many ways to redirect the user to a different web page. Learn the canonical way, and also find out all the options you have, using p [...]
JavaScript Immediately-invoked Function Expressions (IIFE) π
An Immediately-invoked Function Expression is a way to execute functions immediately, as soon as they are created. IIFEs are very useful because they [...]
JavaScript Strict Mode π
Strict Mode is an ES5 feature, and it's a way to make JavaScript behave in a better way. And in a different way, as enabling Strict Mode changes the s [...]
How to get the current timestamp in JavaScript π
Find out the ways JavaScript offers you to generate the current UNIX timestamp [...]
Testing JavaScript with Jest π
Jest is a library for testing JavaScript code. It's an open source project maintained by Facebook, and it's especially well suited for React code test [...]
this in JavaScript π
`this` is a value that has different values depending on where it's used. Not knowing this tiny detail of JavaScript can cause a lot of headaches, so [...]
The Speech Synthesis API π
The Speech Synthesis API is an awesome API, great to experiment new kind of interfaces and let the browser talk to you [...]
How to convert a string to a number in JavaScript π
Learn how to convert a string to a number using JavaScript [...]
How to format a number as a currency value in JavaScript π
Learn how to convert a number into a currency value, using the JavaScript Internationalization API [...]
Interact with the Google Analytics API using Node.js π
Learn how to interface a Node.js application with the Google Analytics API, using the official `googleapis` package. We'll use a JSON Web Token and se [...]
How to authenticate to any Google API π
The Google Developers Console can be complicated to get right, and it's one of the reasons I sometimes have resistance into using one of the Google AP [...]
How I automate sharing old blog posts on Twitter π
I have lots of evergreen content on my blog. This tutorial explains how I automated the repurpose of such content on Twitter [...]
How to uppercase the first letter of a string in JavaScript π
JavaScript offers many ways to capitalize a string to make the first character uppercase. Learn the various ways, and also find out which one you shou [...]
Unicode in JavaScript π
Learn how to work with Unicode in JavaScript, learn what Emojis are made of, ES6 improvements and some pitfalls of handling Unicode in JS [...]
Introduction to Unicode and UTF-8 π
Unicode is an industry standard for consistent encoding of written text. Learn the basics and most important parts of it, in particular concerning UTF [...]
The Beginner's Guide to Meteor π
Meteor is a web application platform. It's a tool for both beginners and experts, it makes it super easy to start, and provides a huge ecosystem of li [...]
How to deep clone a JavaScript object π
JavaScript offers many ways to copy an object, but not all provide deep copy. Learn the most efficient way, and also find out all the options you have [...]
Airtable API for Developers π
Airtable is an amazing tool. Discover why it's great for any developer to know about it and its API [...]
Glitch, a great Platform for Developers π
Glitch is a pretty amazing platform to learn and experiment with code. This post introduces you to Glitch and makes you go from zero to hero [...]
How to remove an item from an Array in JavaScript π
JavaScript offers many ways to remove an item from an array. Learn the canonical way, and also find out all the options you have, using plain JavaScri [...]
How to check if a string contains a substring in JavaScript π
JavaScript offers many ways to check if a string contains a substring. Learn the canonical way, and also find out all the options you have, using plai [...]
How to use JavaScript Regular Expressions π
Learn everything about JavaScript Regular Expressions with this brief guide that summarizes the most important concepts and shows them off with exampl [...]
A tutorial to JavaScript Arrow Functions π
Arrow Functions are one of the most impactful changes in ES6/ES2015, and they are widely used nowadays. They slightly differ from regular functions. F [...]
Introduction to WebSockets π
WebSockets are an alternative to HTTP communication in Web Applications. They offer a long lived, bidirectional communication channel between client a [...]
Working with the DevTools Console and the Console API π
Every browser exposes a console that lets you interact with the Web Platform APIs and also gives you an inside look at the code by printing messages t [...]
A CSS Animations Tutorial π
CSS Animations are a great way to create visual animations, not limited to a single movement like CSS Transitions, but much more articulated. An anima [...]
Introduction to CSS Transitions π
CSS Transitions are the most simple way to create an animation in CSS. In a transition, you change the value of a property, and you tell CSS to slowly [...]
Compare the options for Animations on the Web π
Animation is a fascinating topic. Whether you want to add interaction animations like transitions, or building a whole full screen experience, you hav [...]
JavaScript Closures explained π
A gentle introduction to the topic of closures, key to understanding how JavaScript functions work [...]
The JavaScript Glossary π
A guide to a few terms used in frontend development that might be alien to you [...]
What is the Doctype π
Any HTML document must start with a Document Type Declaration, abbreviated Doctype, which tells the browser the version of HTML used in the page [...]
JavaScript Functions π
Learn all about functions, from the general overview to the tiny details that will improve how you use them [...]
The JavaScript Event Loop π
The Event Loop is one of the most important aspects to understand about JavaScript. This post explains it in simple terms [...]
The requestAnimationFrame() guide π
Learn the API to perform animations and schedule event in a predictable way [...]
Web Workers π
Learn the way to run JavaScript code in the background using Web Workers [...]
How to print your HTML with style π
A few tips on printing from the browser to the printer or to a PDF document using CSS [...]
Write JavaScript loops using map, filter, reduce and find π
How to perform common operations in JavaScript where you might use loops, using map(), filter(), reduce() and find() [...]
Where to host a Node.js app π
A Node.js application can be hosted in a lot of places, depending on your needs. This is a list of all the various options you have at your disposal [...]
JavaScript Loops π
JavaScript provides many way to iterate through loops. This tutorial explains all the various loop possibilities in modern JavaScript [...]
JavaScript Events Explained π
JavaScript in the browser uses an event-driven programming model. Everything starts by following an event. This is an introduction to JavaScript event [...]
CORS, Cross-Origin Resource Sharing π
An introduction to Cross-Origin Resource Sharing, the way to let clients and servers communicate even if they are not on the same domain [...]
Roadmap to learn the Web Platform π
The Web Platform is an amazing ecosystem of APIs, tools and languages, and it is more powerful than ever today. Learn the Web Platform through simple [...]
What are Data URLs π
A Data URL is a URI scheme that provides a way to inline data in a document, and it's commonly used to embed images in HTML and CSS [...]
An in-depth SVG tutorial π
SVG is an awesome and incredibly powerful image format. This tutorial gives you an overview of SVG by explaining all you need to know in a simple way [...]
XMLHttpRequest (XHR) π
The introduction of XMLHttpRequest (XHR) in browsers in the mid 2000's was a huge win for the Web Platform. Let's see how it works. [...]
HTTP requests using Axios π
Axios is a very popular JavaScript library you can use to perform HTTP requests, that works in both Browser and Node.js platforms [...]
The WebP Image Format π
WebP is an Open Source image format developed at Google, which promises to generate images smaller in size compared to JPG and PNG formats, while gene [...]
The History API π
The History API is the way browsers let you interact with the address bar and the navigation history [...]
Auto trigger deploys on Netlify π
I have a list of scheduled posts that I want to publish every week on my blog. Here is how I auto trigger my Hugo Static Site deploys every morning on [...]
Discover JavaScript Timers π
When writing JavaScript code, you might want to delay the execution of a function. Learn how to use setTimeout and setInterval to schedule functions i [...]
Learn how HTTP Cookies work π
Cookies are a fundamental part of the Web, as they allow sessions and in general to recognize the users during the navigation [...]
The Web Storage API: local storage and session storage π
The Web Storage API provides a way to store data in the browser. It defines two storage mechanisms which are very important: Session Storage and Local [...]
Introduction to React Router π
React Router is the perfect tool to link together the URL and your React app. React Router is the de-facto React routing library, and it's one of the [...]
CSS System Fonts π
How to use System Fonts in CSS to improve your site and provide a better experience to your users in terms of speed and page load time [...]
The Document Object Model (DOM) π
DOM stands for Document Object Model, a representation of an HTML document in nodes and objects. Browsers expose an API that you can use to interact w [...]
Efficiently load JavaScript with defer and async π
When loading a script on an HTML page, you need to be careful not to harm the loading performance of the page. Depending on where and how you add your [...]
Getting started with Next.js, a tutorial π
Next.js is a very popular Node.js framework which enables an easy server-side React rendering, and provides many other amazing features [...]
Introduction to Node.js π
This post is a getting started guide to Node.js, the server-side JavaScript runtime environment. Node.js is built on top of the Google Chrome V8 JavaS [...]
How to center an element with CSS π
Centering an element with CSS has always been easy for some things, hard for others. Here is the full list of how to center with CSS, with modern CSS [...]
A list of cool Chrome DevTools Tips and Tricks π
The Chrome DevTools provide an amazing set of tools to help you develop on the Web platform. Here are a few tips you might not know yet [...]
A complete introduction to Apollo, the GraphQL toolkit π
Apollo is a suite of tools to create a GraphQL server, and to consume a GraphQL API. Let's explore Apollo in detail, both Apollo Client and Apollo Ser [...]
JavaScript Expressions π
Expressions are units of code that can be evaluated and resolve to a value. Expressions in JS can be divided in categories. [...]
Roadmap to Learn JavaScript π
JavaScript is such an amazing language! Born as a simple way to manipulate documents in the browser, over the years it became the most popular program [...]
A guide to JavaScript Template Literals π
Introduced in ES2015, aka ES6, Template Literals offer a new way to declare strings, but also some new interesting constructs which are already widely [...]
Code Linters and Formatters for Web Developers π
There are many online tools that help you lint or format code. This post list many of the most useful ones for HTML, CSS and JavaScript [...]
The Selectors API: querySelector and querySelectorAll π
Access DOM elements using querySelector and querySelectorAll. They accept any CSS selector, so you are no longer limited by selecting elements by `id` [...]
Keep your code clean with ESLint π
Learn the basics of the most popular JavaScript linter, which can help to make your code adhere to a certain set of syntax conventions, check if the c [...]
The CSS margin property π
margin is a simple CSS property that has a shorthand syntax I keep forgetting about, so I wrote this reference post [...]
A tutorial to host your Static Site on Netlify π
Discover Netlify, a great hosting service ideal for static sites which has a nice free plan, free CDN and it's blazing fast [...]
Format your code with Prettier π
Prettier is an opinionated code formatter. It is a great way to keep code formatted consistently for you and your team, and supports a lot of differen [...]
Overview of the Browser DevTools π
The Browser DevTools are a fundamental element in the frontend developer toolbox, and they are available in all modern browsers. Discover the basics o [...]
Introduction to PostCSS π
Discover PostCSS, a great tool to help you write modern CSS. PostCSS is a very popular tool that allows developers to write CSS pre-processors or post [...]
CSS Variables (Custom Properties) π
Discover CSS Custom Properties, also called CSS Variables, a powerful new feature of modern browsers that help you write better CSS [...]
The Set JavaScript Data Structure π
A Set data structure allows to add data to a container, a collection of objects or primitive types (strings, numbers or booleans), and you can think o [...]
The Map JavaScript Data Structure π
Discover the Map data structure introduced in ES6 to associate data with keys. Before its introduction, people generally used objects as maps, by asso [...]
JavaScript Loops and Scope π
There is one feature of JavaScript that might cause a few headaches to developers, related to loops and scoping. Learn some tricks about loops and sco [...]
Dive into IndexedDB π
IndexedDB is one of the storage capabilities introduced into browsers over the years. Here's an introduction to IndexedDB, the Database of the Web sup [...]
The complete Git guide π
Git is a free and Open Source version control system (VCS), a technology used to track older versions of files, providing the ability to roll back and [...]
How to use async/await in JavaScript π
Discover the modern approach to asynchronous functions in JavaScript. JavaScript evolved in a very short time from callbacks to Promises, and since ES [...]
An introduction to Yarn π
Yarn is a JavaScript Package Manager, a direct competitor of npm, one of the Facebook Open Source projects [...]
An introduction to Functional Programming with JavaScript π
Getting started with the main concepts of Functional Programming in the JavaScript Programming Language [...]
The Notification API Guide π
The Notifications API is responsible for showing the user system notifications. It's the interface that browsers expose to the developer to allow show [...]
The Cache API Guide π
The Cache API is part of the Service Worker specification, and is a great way to have more power on resources caching. [...]
A list of sample Web App Ideas π
Every time I start a tutorial I find myself in a limbo wondering which app should I build. A to-do app? Not again! [...]
Service Workers Tutorial π
Service Workers are a key technology powering Progressive Web Applications on the mobile web. They allow caching of resources and push notifications, [...]
A developer's introduction to GitHub π
GitHub is a website where millions of developers gather every day to collaborate on open source software. It's also the place that hosts billions of l [...]
JavaScript Variables π
A variable is a literal assigned to an identifier, so you can reference and use it later in the program. Learn how to declare one with JavaScript [...]
JavaScript Types π
You might sometimes read that JS is untyped, but that's incorrect. It's true that you can assign all sorts of different types to a variable, but JavaS [...]
A short and simple guide to Babel π
Babel is an awesome entry in the Web Developer toolset. It's an awesome tool, and itβs been around for quite some time, but nowadays almost every Java [...]
The Lexical Structure of JavaScript π
A deep dive into the building blocks of JavaScript: unicode, semicolons, white space, case sensitivity, comments, literals, identifiers and reserved w [...]
How to use promises in JavaScript π
Promises are one way to deal with asynchronous code in JavaScript, without writing too many callbacks in your code. [...]
Styled Components π
Styled Components are one of the new ways to use CSS in modern JavaScript. It is the meant to be a successor of CSS Modules, a way to write CSS that's [...]
The Channel Messaging API π
The Channel Messaging API allows iframes and workers to communicate with the main document thread, by passing messages [...]
CSS Grid Tutorial π
CSS Grid is an awesome tool we use in CSS to design interfaces [...]
The Flexbox Tutorial π
Flexbox, also called Flexible Box Module, is one of the two modern layouts systems, along with CSS Grid [...]
The Push API Guide π
The Push API allows a web app to receive messages pushed by a server, even if the web app is not currently open in the browser or not running on the d [...]
The Fetch API π
Learn all about the Fetch API, the modern approach to asynchronous network requests which uses Promises as a building block [...]
The Complete ECMAScript 2015-2019 Guide π
ECMAScript is the standard upon which JavaScript is based, and it's often abbreviated to ES. Discover everything about ECMAScript and its latest featu [...]
Getting started with JSX π
JSX is a technology that was introduced by React. Let's dive into it [...]
An introduction to GraphQL π
GraphQL is a query language for your API, and a set of server-side runtimes (implemented in various backend languages) for executing queries [...]
An introduction to the npm package manager π
A quick guide to npm, the powerful package manager key to the success of Node.js. In January 2017 over 350000 packages were reported being listed in t [...]
Learn how to use Redux π
Redux is a state manager that's usually used along with React, but it's not tied to that library. Learn Redux by reading this simple and easy to follo [...]
Introduction to Webpack π
Webpack is a tool that has got a lot of attention in the last few years, and it is now seen used in almost every project. Learn about it. [...]
Introduction to the JavaScript Programming Language π
JavaScript is one of the most popular programming languages in the world, and now widely used also outside of the browser. The rise of Node.js in the [...]
The Complete Guide to Progressive Web Apps π
A Progressive Web App is an app that can provide additional features based on the device support, including offline capabilities, push notifications a [...]
How to start with Firebase Hosting π
Firebase is a Google Cloud service, an articulated product, mainly targeted at mobile applications. Firebase Hosting is one small part of it. [...]
An incomplete list of great Git tutorials π
The web is full of Git tutorials. Here are a few I recommend checking out [...]
The roadmap to learn React π
React is a JavaScript library that aims to simplify development of visual interfaces. Learn why it's so popular and what problems does it solve. [...]
Tutorial: create a Spreadsheet using React π
How to build a simple Google Sheets or Excel clone using React [...]
How I made a CMS-based website work offline π
How I introduced a brand new technology stack to progressively enhance the website when viewed on modern devices [...]
Create an app with Electron and React π
How to create an Electron Node.js desktop application using `create-react-app` [...]
An introduction to JavaScript Arrays π
A gentle introduction to Arrays, a key building block of JavaScript [...]
How to pass props to a child component via React Router π
This short tutorial explains how to pass props to a child component via React Router [...]
Build a simple counter with React π
A very simple example of building a counter in React [...]
A React simple app example: fetch GitHub users information via API π
Very simple example of a form that accepts a GitHub username and once it receives a `submit` event, it asks the GitHub API for the user information, a [...]
VS Code setup for React development π
Simple steps to get a nice VS Code setup with linting hints and format on save [...]
Go Data Structures: Binary Search Tree π
Analysis and implementation of the Binary Search Tree data structure in Go [...]
Go Data Structures: Set π
Analysis and implementation of the Set data structure in Go [...]
Visualize your local Git contributions with Go π
Tutorial on writing a Git stats analysis CLI tool using Go [...]
Debugging Go with VS Code and Delve π
Up and running with debugging Go with VS Code [...]
RGB color codes π
A table summarizing the RGB color codes, which are useful but are hard to remember. Find out what color corresponds to a code, and vice versa. [...]
Git workflow to manage work on multiple branches π
My strategy when using Git as the versioning tools for my projects [...]
A Git Cheat Sheet π
This page contains a list of Git commands I find handy to know but I find hard to remember [...]
JavaScript Coding Style π
This JavaScript Coding Style is the set of conventions I use every day when using JavaScript. It's a live document, with the main set of rules I follo [...]
Using node-webkit to create a Desktop App π
In this post I'm scratching the surface of node-webkit, by deploying and building a package for a web application, on Mac and Windows. [...]
How to upload files to the server using JavaScript π
Uploading a file an process it in the backend in one of the most common file handling functionalities in a web app [...]
Deferreds and Promises in JavaScript (+ Ember.js example) π
Promises are a relatively new approach to async management, and they can be really helpful to structure your code [...]
Introduction to Frontend Testing π
How to start with testing frontend applications using Mocha and Chai [...]
Bower, the browser package manager π
Bower defines itself as a browser package manager, and itβs a powerful tool to manage your project assets: javascript, CSS and images. [...]
Introduction to Yeoman π
Yeoman is one of the cool kids in the yard, a combined effort of a lot of respectable developers to provide a tool that simplifies the setup and manag [...]
Things to avoid in JavaScript (the bad parts) π
A quick list of things to avoid when writing JavaScript code [...]