How to download and install Node.js and NPM on windows 10

This post is going to focus on how to install node.js on your windows 10 operating system and i am also going to show you how to setup your path environment variables for node.js so you can be able to use node.js from any directory in your computer system. STEP 1: Download Node.js First of all, you need to download and install node.js from the official website On the website, the Long Term Support(LTS) version (which also includes npm) will be selected by default but if by any means it is not, please make sure it is selected because that is the version we want and it is also recommended for most users....

April 15, 2022 · 3 min · Jima Victor

How to create a three state toggle switch using html, css and javascript

In this tutorial, this is what we are going to be building: Part of the reason why I am writing this, is because of the calculator challenge on frontendmentor. I was working on the challenge and I came across this switch that is supposed to switch between the three themes of the calculator. So I thought it would be a great idea to write a tutorial on how to do it because I know it’s not very straight forward and not everyone would get it easily....

March 9, 2022 · 4 min · Jima Victor

Javascript forEach - loop through js array items

So imagine you went fruit shopping and you came back home with a basket of fruits. You need to store these fruits separately i.e you need all apples to be put together, all bananas to also be put together, all oranges to be put together and so on.. If you only had around 20 fruits in the basket, it will be relatively easy to complete this task. However, if the number was increased to about 50 - 60 fruits in this basket, then it becomes difficult and the difficulty of this task gradually increases as the number of the fruits does....

January 28, 2022 · 3 min · Jima Victor

Do you need to be good at math to be a programmer?

So you want to get into programming or you’ve already been programming and you’ve been hearing a lot of people saying you need to be good at math in order for you to be successful as a programmer. So you are now wondering if math is really necessary for you to become a good programmer. This question is one question that is really common among beginners, especially those who do not have any background in mathematics or any STEM related field for that matter....

January 13, 2022 · 3 min · Jima Victor

HtmlCollection vs NodeList in Javascript

At some point in your journey as a developer, you might have come across this error. If you haven’t come across this error, maybe one day you will. The above error occurs as a result of trying to use the forEach array method on an htmlCollection. What is an htmlCollection Well, an htmlCollection is a live and ordered list of nodes that represents a collection of HTML elements extracted from the DOM....

January 10, 2022 · 3 min · Jima Victor