Create an interactive CLI menu with Node.js
I have recently had to create an interactive menu for a project. I started programming it in bash and to tell the truth I quickly felt limited when I ...
I have recently had to create an interactive menu for a project. I started programming it in bash and to tell the truth I quickly felt limited when I ...
In most projects, an external library must be used (e.g. YouTube Player, Google Maps…), so the idea is to create a function to load the script asynchr...
createElement function creates a wrapper element from a string. wrap function uses it to easily wrap a given element arround the wrapper string. The g...
When it comes to logging user activity, like tracking stats or analytics data or even logging app errors, consider using navigator.sendBeacon(). The n...
Errors and exceptions are among the problems encountered in any programming conceptions. By producing these errors, whether they are probable or not, ...
Recently I’ve published an article on how to set up CI/CD with GitHub Actions and Netlify. When working on my last project I needed to password protec...
In any application or software development process or lifecycle, we go through several phases. The purpose of these phases is to minimize regressions ...
When working on a group project on git, you create a branch. Except that you realize that it doesn’t follow the convention set by the team or that the...
When setting up some scripts, we need to know the current device type. Just take the example of analytics scripts or scripts that need to be loaded de...
We will see in this post how to access the values of the elements of a form using JavaScript. The getFormData method will allow us to retrieve from a ...
For some projects we need to execute several scripts or npm commands simultaneously. We take the example of a JavaScript client and a Node.js server t...
Each developer has its own tools and setup. Through this post, I wanted to share with you the different tools I use every day for my developments, at ...
In JavaScript, as in other programming languages, we often have to manipulate all types of data during our development. However, in JavaScript we have...
Personal branding has become very important both personally and professionally in order to highlight your personality, your values and your skills. ...
Recently, the web has not stopped evolving. A lot of processes have been put in place to revolutionize the way we do or think, while offering a better...
For some projects we need to perform specific queries such as finding the closest elements or those within the perimeter of a given point. Imagine tha...
We will see in this post how to switch from the default Shell which is bash to zsh. But before that let’s see a little bit what a Shell is and how and...
We saw on a previous post how to set up a blog with Gatsby and the WordPress API. We will see in this post how to deploy our project to Netlify. Creat...
The use of WordPress as a Headless CMS can be a very good solution when it comes to performance, optimization or even in terms of maintenance and evol...
APIs have become more and more important in our projects lately. Therefore, it is difficult today to imagine a service, a project… that does not offer...