JavaScript

How To Use Enums in TypeScript — step-by-step Javascript tutorial on Progressive Robot

How To Use Enums in TypeScript

In TypeScript, enums, or enumerated types, are data structures of constant length that hold a set of constant values. Each of these constant values is known as a member of the enum. Enums are useful when setting properties or values that can only be a certain number of possible values. This tutorial will explain the syntax used to create enum types, the JavaScript code that the TypeScript compiler creates under the hood, and a use case for enums in game development.

Read more
How to Use Node.js and Github Webhooks to Keep Remote Projects in Sync — step-by-step Linux tutorial on Progressive Robot

How to Use Node.js and Github Webhooks to Keep Remote Projects in Sync

In this guide you will develop a Node.js server that listens for a GitHub webhook notification whenever you or someone else pushes code to GitHub. This script will automatically update a repository on a remote server with the most recent version of the code, eliminating the need to log in to a server to pull new commits.

Read more
How To Work with Strings in JavaScript — step-by-step Javascript tutorial on Progressive Robot

How To Work with Strings in JavaScript

A string is a sequence of one or more characters that may consist of letters, numbers, or symbols. Strings in JavaScript are primitive data types and immutable, which means they are unchanging. As strings are the way we display and work with text, and text is our main…

Read more
A Fetch API Primer — step-by-step Javascript tutorial on Progressive Robot

A Fetch API Primer

In this quick post we’ll go over using the Fetch API to GET or POST some JSON data to an external resource. We’ll also go over proper error handling.

Read more
CHAT