55 < meta name ="viewport " content ="width=device-width, initial-scale=1.0 " />
66 < title > DOM</ title >
77 < style >
8- .colors {
8+ /* .colors {
99 color: white;
1010 background: red;
1111 padding: 0.35rem 0.75rem;
1414
1515 .text {
1616 text-transform: uppercase;
17+ } */
18+
19+ .red {
20+ colors : white;
21+ background : red;
22+ }
23+
24+ .blue {
25+ colors : blue;
26+ background : blue;
27+ }
28+
29+ .text {
30+ font-size : 1.25rem ;
31+ text-transform : uppercase;
1732 }
1833 </ style >
1934 </ head >
@@ -86,9 +101,9 @@ <h2>The Pirates</h2>
86101 <li>marine ford</li>
87102 </ul> -->
88103
89- <!-- textContent and childNodes -->
104+ <!-- textContent and childNodes
90105 <h3>Hello people</h3>
91- < h2 > Hello World</ h2 >
106+ <h2>Hello World</h2> -->
92107
93108 <!-- getAttribute, setAttribute
94109 <div class="container">
@@ -105,6 +120,10 @@ <h2 class="first">first element</h2>
105120 <h2 class="second">second element</h2>
106121 <h2 class="third">third element</h2> -->
107122
123+ <!-- createElement, createTextNode , appendChild -->
124+ < div class ="container ">
125+ < h2 > The Pirates of SHP</ h2 >
126+ </ div >
108127 <!-- source js -->
109128 <!-- <script src="/01_getElementById.js"></script> -->
110129 <!-- <script src="/02_getElementByTagName.js"></script> -->
@@ -114,8 +133,9 @@ <h2 class="third">third element</h2> -->
114133 <!-- <script src="/06_parentElement.js"></script> -->
115134 <!-- <script src="/07_nextSibling_previous.js"></script> -->
116135 <!-- <script src="/08_nextElementSibling_previous.js"></script> -->
117- < script src ="/09_textContent.js "> </ script >
136+ <!-- < script src="https://github.com/09_textContent.js"></script> -- >
118137 <!-- <script src="/10_getAttribute.js"></script> -->
119138 <!-- <script src="/11_className-classList.js"></script> -->
139+ < script src ="/12_createElement_textnode_appendChild.js "> </ script >
120140 </ body >
121141</ html >
0 commit comments