Skip to content

Commit e0db2df

Browse files
authored
Update README.md
2,714
1 parent 1d48071 commit e0db2df

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -585,7 +585,7 @@ specified tag name.</p>
585585
</p>
586586
<!-- image007.png -->
587587
<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
588-
<h3 id="D03-04">04. Using querySelector</h3>
588+
<h3 id="D03-04">04. Using <b><mark>querySelector</mark></b></h3>
589589
<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
590590
<p>This method selects the first element that matches a specified CSS selector. It returns only
591591
one element.</p>
@@ -640,7 +640,7 @@ one element.</p>
640640
</p>
641641
<!-- image008.png -->
642642
<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
643-
<h3 id="D03-05">05. Using querySelectorAll</h3>
643+
<h3 id="D03-05">05. Using <b><mark>querySelectorAll</mark></b></h3>
644644
<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
645645
<p>Similar to <b><mark>querySelector</mark></b>, but it returns a <b><mark>NodeList</mark></b> containing
646646
all elements that match the specified CSS selector.</p>
@@ -1140,10 +1140,9 @@ element by class name and we will change the background color of selected class
11401140
<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
11411141
<h3>3. Using <b><mark>document.querySelectorAll()</mark></b></h3>
11421142
<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
1143-
<p>In this approach we are using the document.querySelectorAll() method. This method finds all
1143+
<p>In this approach we are using the <b><mark>document.querySelectorAll()</mark></b> method. This method finds all
11441144
elements that match a specific CSS selector, like class name. It gives you a static list,
11451145
which means it wont automatically update if page changes.</p>
1146-
11471146
<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
11481147
<h4>Syntax:</h4>
11491148
<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->

0 commit comments

Comments
 (0)