How to log a JavaScript object in the console

To display a JavaScript object in the console we need to pass an…

Two ways to remove a property or key from a Javascript Object

In this tutorial, we are going to learn about two different ways to…

How to create a button component in React

This example will show you, how to create a reusable button component…

For loop in Bash script

for loop is used to iterate over a list of items until a particular…

How to Get the source directory of a Bash script within the script itself

This example will help you to get the full path of an directory using…

How to format the date and time in JavaScript

In the last tutorial, we have seen how to get the current date and…

How to display a JavaScript object in the console

In this tutorial, we are going to learn about how to log or display a…

Calling an external command from Python

This example will show you how to call an external command from Unix…

How to run multiple commands in Python

This example will show you, how to run a multiple bash commands with…

How to check if a string contains a substring in Bash

This below example will show you, how to check if a string contains a…

React pass parameter into onClick method

This example will show you how to pass a parameter to the react…

Three dots(...) inside React components

In JavaScript, we have three dots syntax which is called spread…

Vue Router Dynamic route matching tutorial

In this tutorial, we are going to learn about how to implement dynamic…

How to replace white space in a string with '+' in JavaScript

In this tutorial, we are going to learn about how to use regex to…

React Components Example

A component is a reusable piece of ui where we can create once use…