Capitalize the first letter of a string using JavaScript
In this JavaScript article, we will show you how to capitalize the first letter of a string using JavaScript. There are many ways to uppercase the first letter of a...
In this JavaScript article, we will show you how to capitalize the first letter of a string using JavaScript. There are many ways to uppercase the first letter of a...
When you are working with a large scale react application then you may need to add tabs in React. Here we will use the NPM Package to create tabs in...
If you want to reload or refresh the page automatically after a certain time, you can do it using JavaScript. In this article, you will see three different methods to...
In this article, you will learn how to connect MySQL database in Node.js. Today we will show you how to connect a database and in the next article, you will...
We were trying to sort an array of objects which contains a status key which has “active”, “inactive”, “pending”. So we just wanted to sort the array in such a...
In this article, we will show you how to add / remove / toggle an HTML element’s class using JavaScript. There are two different properties called className and classList to...
You may need to validate a checkbox list when you are creating a form in React. Just as we have created a common component for the select field and radio...
Today we will show you how to prevent the submit form on enter key except the textarea using jQuery. In a real project, you may need to restrict the entry...
You may need to validate a radio button when you are creating a form in React. Just as we have created a common component for the select field and input...
In this article, we will show you how to create autocomplete places search box using Google Maps in JavaScript. We have already explained how to implement Google Place Autocomplete in...
You may need to validate the react-select dropdown when you are dealing with a react-select dropdown in React. Just as we have created a common component for the input field...
If you are using arrays in your project and would like to use the array method, we suggest you check if the array is empty or exists. So here we...
Here, you will learn how to create an auto-resize Textarea in JavaScript that will fit the content. In this article, we will discuss two different ways to automatically resize Textarea...
In this article, we will teach you how to allow only alphabets in the input field in React. Here, we will implement this functionality without the React package. Checkout more...