Converting to lowercase and uppercase is a common task in JavaScript. This could be for preparing strings for case insen...

Read

Sometimes it is necessary to find out if a string contains a word or another substring in JavaScript. Fortunately, JavaS...

Read

The JavaScript reduce() method provides a clean way to loop through an iterable and do something with each value in a fu...

Read

Base64 encoding is used to convert strings containing text and numerical data into ASCII characters. This is useful when...

Read

The Python zip() method is used to combine iterables into an object of tuples. What makes this method powerful is that a...

Read

The string strip() method in Python removes the leading and trailing characters from a string and returns a new string....

Read

In most cases, JavaScript does not have direct access to local files on a users machine for obvious security reasons. It...

Read

A promise in an asynchronous task in JavaScript that will return a Promise object, which can be accessed using the then(...

Read

In order to compare arrays in JavaScript, we first have to define what we want to compare – should the comparison be bas...

Read

The modulus operator in JavaScript, also known as the remainder operator returns the remainder of a division. In this tu...

Read

Sometimes you might need to check, revert or reset a commit in your Git repository. This could be due to a mistake or be...

Read

In the previous tutorial, we covered how to add modified files to the staging area in Git and in this tutorial we will l...

Read

Once you have created a Git repository, made a commit and then continued to work on your code, the changes you have made...

Read

In this tutorial, we are going to learn how to create a new Git repository for a project. To follow this tutorial you sh...

Read

Git is a version control system designed to keep track of source code changes. It can be used by a lone developer to kee...

Read

In this tutorial, we will learn how to check if the current page a user is on is the homepage in JavaScript. We will ass...

Read

Joining strings in JavaScript is a common task, one example of this might be to produce a formatted output for the user...

Read

When building an HTML form containing checkboxes we may want to validate whether they have been checked using JavaScript...

Read

The modern standard for displaying videos in a web browser is to use the HTML video tag. With it we can supply multiple...

Read

It is not possible to iterate over an object in JavaScript as you would with other iterables like strings and arrays usi...

Read

Commenting out code in CSS is good practice and makes it easy to read. Comments can be used to explain what something do...

Read

In JavaScript, it is possible to merge the properties of two or more objects and make a new object by using the spread o...

Read

Sometimes is it necessary to convert an array to a string in JavaScript. It is possible to do this in two different ways...

Read

Latest

 thumbnail

Convert to Lowercase or Uppercase in JavaScript

November 09, 2020

Converting to lowercase and uppercase is a common task in JavaScript. This could be for preparing strings for case insen...

 thumbnail

The Python zip() Method

November 04, 2020

The Python zip() method is used to combine iterables into an object of tuples. What makes this method powerful is that a...

 thumbnail

The Python String strip() Method

November 02, 2020

The string strip() method in Python removes the leading and trailing characters from a string and returns a new string....

 thumbnail

How to Read Files in JavaScript

October 16, 2020

In most cases, JavaScript does not have direct access to local files on a users machine for obvious security reasons. It...

 thumbnail

The Promise then() Function in JavaScript

October 16, 2020

A promise in an asynchronous task in JavaScript that will return a Promise object, which can be accessed using the then(...

 thumbnail

How to Make Commits in Git

October 13, 2020
 thumbnail

Check if Homepage JavaScript

October 10, 2020
 thumbnail

CSS Comments

October 08, 2020