Posts by Samim

Author Biographical Info: Not available

Trim a string in JavaScript

By Samim

In this tutorial, I am going to discuss about three different string methods those are trim(), trimstart(), and trimend(). Those three methods are going to be used to remove the wh.... Read More

Get the coordinates of the cursor in JavaScript

By Samim

This tutorial will show you how to get the coordinates of the cursor in JavaScript. First of all, let’s create our HTML element which shows us the position coordinates of the.... Read More

Convert array elements to Uppercase or Lowercase in JavaScript

By Samim

This tutorial will show you how to convert array elements to Uppercase or Lowercase in JavaScript. Convert all array elements to uppercase: To transform each element of the array u.... Read More

How to take user input in HTML form and store in JavaScript variable

By Samim

In this tutorial, we will learn how to take user input in HTML form and store it in a JavaScript variable. And then, we can do whatever we want to do with it like mathematical oper.... Read More

How to change font size using JavaScript

By Samim

In this article, I will tell you how to change font size using JavaScript. To change font size in JavaScript, we will use the style property. Also, we will use the getElementById m.... Read More

Related Posts