How to sort Numbers in JavaScript

In my latest Reddit Daily Programmer challenge, I came across the task of asking a user for numeric input and then, sort this input in numerical order. To sort numbers in JavaScript, we will use an array and the sort() function. Sort Numbers in JavaScript using an Array Alright, let’s dive right in the code. … Read more How to sort Numbers in JavaScript

How to store User Input in a Variable with JavaScript

As I learning to code, I come across many challenges that require me to look stuff up. I am still at the beginning of my journey, but I try to solve at least one of the Reddit Daily Programmer challenges every day. Today’s task requires me to store User Input in a Variable with JavaScript. … Read more How to store User Input in a Variable with JavaScript

‘node’ is not recognized as an internal or external command VSCode

I recently re-installed my Windows 10 machine and Visual Studio Code with it. All my extension were gone too, and previously I have used the “Code Runner” extension to run JavaScript code directly in Visual Studio Code. I installed it, and when I tried to run my code I got the ‘node’ is not recognized … Read more ‘node’ is not recognized as an internal or external command VSCode