Most browsers will likely ignore various formatting keystrokes, including Enter, Tab keys, and uses of spacebar. Yet, these formatting tags enable users to accomplish various tasks in HTML. Your web browser can wrap text to the next line automatically with ...
ITtutoria Latest Articles
How To Add A Class To The Body Element Using JavaScript
The ability to add a class to the body element using JavaScript can come in handy when you need to modify your HTML page on the fly. Keep reading to find out how you can accomplish this task. Add A ...
How To Add A Key/Value Pair To All Objects In Array In JavaScript
There are several ways to add a key/value pair to all objects in array in JavaScript. Check them out with the examples below. Add A Key/Value Pair To All Objects In Array In JavaScript With For Loops In this tutorial, ...
How To Convert A String To Title Case In JavaScript
If you want to convert a string to title case in JavaScript, bear in mind that it isn’t as simple as converting the first character of each word to uppercase. Rules of the title case vary, and there are words ...
How To Get The Sunday Of The Current Week Using JavaScript
Read on to know how to get the Sunday of the current week using JavaScript. Using the instructions of this tutorial, you can also calculate any date of the week. Get The Sunday Of The Current Week Using JavaScript Our ...
How To Get Yesterday’s Date Formatted As YYYY-MM-DD In JavaScript
It involves several methods of Date objects to get yesterday’s date formatted as YYYY-MM-DD in JavaScript. They are quite easy to understand, however, and the explanation below will help you with this. Get Yesterday’s Date Formatted As YYYY-MM-DD In JavaScript ...
How To Capitalize The First Letter Of Each Word In JavaScript
There is no built-in solution if you want to capitalize the first letter of each word in JavaScript. But we build a custom function by using methods of String objects. Keep reading to discover different approaches to this problem. Capitalize ...
How To Add Minutes To A Date In JavaScript
If you want to add minutes to a date in JavaScript, you can modify the corresponding Date object with built-in methods. Learn more about them below. Add Minutes To A Date In JavaScript Date() First, we need to create a ...
How To Get The Status Code Of An Axios HTTP Error In JavaScript
Your Axios HTTP request may fail due to various reasons. Keep reading to learn how to get the status code of an Axios HTTP error in JavaScript. Get The Status Code Of An Axios HTTP Error In JavaScript When your ...
How To Parse A JSON Array In Javascript?
Are you having difficulties with the technique to parse a JSON Array in JavaScript? Don’t be concerned! In this article, we’ll offer some solutions to fix it in the nick of time. Let’s get started! The way to parse a ...