Skip to content

Commit 2b5bf32

Browse files
authored
Update README.md
1 parent b8b15d6 commit 2b5bf32

1 file changed

Lines changed: 20 additions & 2 deletions

File tree

README.md

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,29 @@ output:
1010
with some style
1111
---
1212

13+
<ol>
14+
<li><a href="01">JavaScript - How to Manipulate DOM Elements?</a></li>
15+
<li>How to Add a <b><mark>Class</mark></b> to <b><mark>DOM Element</mark></b> in JavaScript?</li>
16+
<li>How to select DOM Elements in JavaScript?</li>
17+
<li>How to get all ID of the DOM elements with JavaScript?</li>
18+
<li>JavaScript – How to Get the Data Attributes of an Element?</li>
19+
<li>How To Get Element By Class Name In JavaScript?</li>
20+
<li>How to Get Value by Class Name using JavaScript?</li>
21+
<li>How to Get Domain Name From URL in JavaScript?</li>
22+
<li>How to get protocol, domain and port from URL using JavaScript?</li>
23+
<li>How to Extract the Host Name from URL using JavaScript?</li>
24+
<li>How to Get the Current URL using JavaScript?</li>
25+
<li>How to get URL Parameters using JavaScript?</li>
26+
<li>How to parse URL using JavaScript?</li>
27+
<li>Manipulating HTML Elements with JavaScript</li>
28+
<li>How to use innerHTML in JavaScript?</li>
29+
<li>JavaScript innerHTML</li>
30+
</ol>
1331
<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
1432
<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ readme.md of dom ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
1533
<h1 align="center">DOM</h1>
1634
<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
17-
<h2>JavaScript - How to Manipulate DOM Elements?</h2>
35+
<h2 id="#01">01 JavaScript - How to Manipulate DOM Elements?</h2>
1836
<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
1937
<p>The <b><mark>DOM</mark></b> stands for the <b><mark>Document Object Model (DOM)</mark></b>, which
2038
allows us to interact with the document and change its structure, style, and content. We can use
@@ -965,7 +983,7 @@ The getAttribute() method in JavaScript retrieves the value of a specified attri
965983
</p>
966984
<!-- image013.gif -->
967985
<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
968-
<h2>How To Get Element By Class Name In JavaScript ?</h2>
986+
<h2>How To Get Element By Class Name In JavaScript?</h2>
969987
<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
970988
When working with the DOM in JavaScript, selecting elements by their class names is a common task. JavaScript provides several methods to achieve this, whether we need to select one or multiple elements. In this article, we will cover different approaches to get elements by class name in JavaScript.
971989

0 commit comments

Comments
 (0)