We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6c308e3 commit a193ba7Copy full SHA for a193ba7
1 file changed
README.md
@@ -308,10 +308,9 @@ the <b><mark>div</mark></b> using the <b><mark>getElementById</mark></b> and we
308
<script>
309
function myClass() {
310
let elem = document.getElementById("gfg");
311
-
312
- // Adding class to div element
+ // Adding class to div element
313
elem.classList.add("geek");
314
- }
+ }
315
</script>
316
</body>
317
</html>
@@ -601,7 +600,7 @@ one element.</p>
601
600
602
</pre>
603
<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
604
-<h4>Output:</h4.
+<h4>Output:</h4>
605
<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
606
<!--~~~~~~~~~~~~~~~~~~~~~~~ 08. ~~~~~~~~~~~~~~~~-->
607
<p align="center" >
0 commit comments