Skip to content

Commit a193ba7

Browse files
authored
Update README.md
1 parent 6c308e3 commit a193ba7

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
@@ -308,10 +308,9 @@ the <b><mark>div</mark></b> using the <b><mark>getElementById</mark></b> and we
308308
&lt;script&gt;
309309
function myClass() {
310310
let elem = document.getElementById("gfg");
311-
312-
// Adding class to div element
311+
// Adding class to div element
313312
elem.classList.add("geek");
314-
}
313+
}
315314
&lt;/script&gt;
316315
&lt;/body&gt;
317316
&lt;/html&gt;
@@ -601,7 +600,7 @@ one element.</p>
601600
&lt;/html&gt;
602601
</pre>
603602
<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
604-
<h4>Output:</h4.
603+
<h4>Output:</h4>
605604
<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
606605
<!--~~~~~~~~~~~~~~~~~~~~~~~ 08. ~~~~~~~~~~~~~~~~-->
607606
<p align="center" >

0 commit comments

Comments
 (0)