How to Make a Simple JavaScript Quiz — SitePoint – Website Design Article

“How do I make a JavaScript quiz?” is one of the most common questions asked by people learning web development, and for good reason. Quizzes are fun! They’re a great way of learning about new subjects, and they allow you to engage your audience with something fun and playful. This popular article was updated in 2020 to reflect the current best practices in JavaScript. Coding your own JavaScript quiz is also a fantastic learning exercise. It teaches you how to…

Read More

Build a JavaScript Command Line Interface (CLI) with Node.js — SitePoint – Website Design Article

As great as Node.js is for “traditional” web applications, its potential uses are far broader. Microservices, REST APIs, tooling, working with the Internet of Things and even desktop applications: it’s got your back. Another area where Node.js is really useful is for building command-line applications — and that’s what we’re going to be doing in this article. We’re going to start by looking at a number of third-party packages designed to help work with the command line, then build a…

Read More

A Beginner’s Guide to npm — the Node Package Manager — SitePoint – Website Design Article

Node.js makes it possible to write applications in JavaScript on the server. It’s built on the V8 JavaScript runtime and written in C++ — so it’s fast. Originally, it was intended as a server environment for applications, but developers started using it to create tools to aid them in local task automation. Since then, a whole new ecosystem of Node-based tools (such as Grunt, Gulp and Webpack) has evolved to transform the face of front-end development. This popular article was…

Read More