In this post on Changing Style of HTML Elements using getElementsByClassName() Method, I will explain how to change the style properties of HTML elements with specific class attribute. Changing Style of HTML Elements To begin with, we will use the getElementsByClassName() method in this example. In order to perform a common operation on all the …
Introduction to HTML DOM Methods in JavaScript
In this article on Introduction to HTML DOM Methods in JavaScript, I will explain the HTML DOM methods and their examples. To begin with, in the earlier post on Document Object Model (DOM), its basic concept is explained. Basically, the JavaScript API for HTML DOM comprises several methods that allow us to add, update, and remove …
JavaScript Practice Exercise
Since JavaScript is one of the popular languages for coding, learners should practice it by writing some code. These beginner-level level JavaScript Practice Exercise questions help them learn the language. JavaScript Practice Exercise Use JavaScript to display pop up boxes (alert box, an alert box with line breaks, confirm box, prompt box) Use JavaScript to call a …
Understanding Document Object Model (DOM) in JavaScript
In this post on Understanding Document Object Model (DOM) in JavaScript, I will explain the Document Object Model (DOM) API. JavaScript is all about making your web page dynamic. Once you have decided that all HTML on the page is dynamic, you need appropriate features to do that and the Document Object Model (DOM) provides …
Understanding JSON Web Tokens
In this post on Understanding JSON Web Tokens, I will explain the concept of JWT. Basically, JWT or JSON Web Token is a way of securely transferring information between parties. The transfer of information takes place as JSON objects rather than plain text. Since this information is digitally signed, it can be verified also. Hence, the information …
Evolution of JavaScript from ES1 to ES2020
Today, I will discuss the Evolution of JavaScript from ES1 to ES2020. Before going into the details of different versions, I will discuss JavaScript in brief. Basically, it is a language of the web and runs on a browser. In contrast to other programming languages, JavaScipt is interpreted. While HTML and CSS provide the structure and style …