12 posts tagged with "JavaScript"

Get a Random Element from an Array in JavaScript

Get a Random Element from an Array in JavaScript

Discover how to select a random element from an array in JavaScript.

Remove Element from an Array in JavaScript

Remove Element from an Array in JavaScript

In this article, you will discover how to remove an element from an array in JavaScript.

Filter an Array with JavaScript

Filter an Array with JavaScript

A practical tutorial on how to filter arrays in JavaScript using the Array Filter method.

Remove Last Character from a String in JavaScript

Remove Last Character from a String in JavaScript

A short tutorial on how to get and remove the last character of string in JavaScript.

Email Validation with JavaScript

Email Validation with JavaScript

In this article, you will discover three ways to do an email validation with JavaScript (using Regular Expressions, an Email Validator library, or HTML5).

Replace Item in Array with JavaScript

Replace Item in Array with JavaScript

A short tutorial on how to replace an element in an array with JavaScript.

Remove First Character from a String in JavaScript

Remove First Character from a String in JavaScript

A short tutorial on how to get and remove the first character of string in JavaScript.

How to Merge Objects in JavaScript

How to Merge Objects in JavaScript

Learn how to merge two or more objects in JavaScript and combine their values in one final object.

Conditional (Ternary) Operator in JavaScript Explained with Examples

Conditional (Ternary) Operator in JavaScript Explained with Examples

Learn how to create a JavaScript shorthand if using the conditional (ternary) operator.

What's the Spread Operator in Javascript and How to Use it

What's the Spread Operator in Javascript and How to Use it

In this short tutorial, you will learn Spread Operators in JavaScript and how to use them.

A Step-By-Step Guide to Create your First API with Node and Express

A Step-By-Step Guide to Create your First API with Node and Express

Nowadays, APIs are everywhere. If you are a web developer, you probably heard about it at least one time in your life. At the end of this guide, you will have your first API with Node.Js and Express.Js.

What is TypeScript and Why You Should Use it in 2021

What is TypeScript and Why You Should Use it in 2021

Nowadays, Javascript is a popular programming language used in almost all websites. The first stable version of TypeScript was released in 2014, and I think it's going to be one of the trends at the end of the year. Discover what the pros and cons are, and when to use it!

Learn to code with simple and concrete examples.

English / Français