Subscribe to my newsletter and never miss my upcoming articles
This article covers setAttribute , getAttribute & removeAttribute Changing Style of HTML Element kebab case, pascal case & camel case Specific way of adding, removing class to HTML Element setAttribute Yes, as the name suggests, this method is used...
This article covers Difference between HTMLCollection and NodeList item & namedItem method of HTMLCollection Iterating HTMLCollection. item, values, keys, entries, forEach method of NodeList HTMLCollection vs NodeList HTMLCollection is a Dynamic L...
DOM stands for Document Object Model. DOM is a standard for accessing documents. It is a language-neutral platform that allows programs or scripts to change the contents, styles, and structure of documents dynamically. In this article, we will learn...
Arrow functions are a cleaner way of writing functions in Javascript. There are some differences between normal javaScript functions and arrow functions. this this keyword in arrow functions refers to the scope where it is defined For example: const ...
The <script> tag in the HTML page contains the executable script or the source to the executable script. We will learn about three attributes in the <script> tag with their meaning and execution behavior. src 😂 async defer Src <script src="./scri...
In the present context, Dark Theme is like a vital thing for any website. The first thing I search while visiting the website is the theme toggler. Seriously, it is very uneasy to see the light-themed website now, at least for me. So recently I impl...