Toggle Disabled Attribute in Jquery

In this article, In this article, we are going to create an HTML input box that is Toggle Disabled and Enable by a single button in Jquery. HTML Javascript I hope this code will helpful for you. BrijBrijpal Sharma is a web developer with a passion for writing tech tutorials. Learn JavaScript and other web … Read more

How to Make a BMI Calculator in Javascript?

In this blog post, we make a BMI calculator in simple javascript code. BMI (Body mass index) formula measures total body fat and whether a person is a healthy weight. First, make an HTML form to get input value from the user. HTML javascript First of all, we have got the input value and calculated … Read more

How to make a text italic in JavaScript?

To make italic text, we have two methods, first one is style.fontStyle, and the italics() method. The property sets or returns whether the style of the font is normal, italic, or oblique. Method 1: Using style.fontStyle HTML javascript Method 2: Using  italics() method We can also use the javascript italics() method. The italics() method creates an <i> An HTML … Read more

How to Set, Get and Remove Session Value in Javascript?

In this blog post, we are going to set, get and remove the session value in javascript. The sessionStorage object stores data only for a session. sessionStorage is quite similar to localStorage, But the difference is that localStorage doesn’t expire, and data in sessionStorage is cleared when the page session ends. Set Session value in … Read more

How to store prompt value in javascript?

prompt() instructs the browser to display a dialog to the user to input some message. This is an optional message prompting the user. Prompt is generally used to take the input from the user. When the prompt box pops up, the User has to click “OK” or “Cancel” to proceed. In this article, we are … Read more

Area Calculator In Javascript

In this blog post, we learn how to write a javascript function to calculate the area. To find the area of this square, we just multiply the area. So we will write a function in javascript that returns the multiple of two entered values. Html Javascript Result I hope this code will helpful for you. … Read more

How to change the text in Javascript?

In this article, we learn how to change the text value in javascript. HTML Javascript The Element property innerHTML gets or sets the HTML or XML markup contained within the element. BrijBrijpal Sharma is a web developer with a passion for writing tech tutorials. Learn JavaScript and other web development technology. www.codermen.com/

How to Check If a Number is Odd or Even in Javascript?

In this article, we are going to check if a number is odd or even. We have many methods to do this task but we use one of the easiest methods. HTML Javascript Here is using the modulus % operator to determine if a number is odd or even in JavaScript. I make numeric character … Read more

How to Change Text Color Using Javascript?

In this article, we are going to change text color using the javascript function. After the button is clicked, the JavaScript function is called and sets the color to the text. HTML Here I simply give an id to the H1 tag and create an HTML button with onclick attribute. Javascript This is a simple … Read more