diff --git a/index.js b/index.js index 1e4665d..16d21fa 100644 --- a/index.js +++ b/index.js @@ -10,4 +10,8 @@ const p1 = document.createElement('p'); p1.style.color = "#f00"; p1.textContent = "Hey I'm red!"; -container.appendChild(p1); +const h3 = document.createElement('h3'); +h3.style.color = "#00f"; +h3.textContent = "I'm a blue h3!"; + +container.append(p1, h3);