diff --git a/index.js b/index.js index ba8972a..1e4665d 100644 --- a/index.js +++ b/index.js @@ -5,3 +5,9 @@ content.classList.add('content'); content.textContent = 'This is the glorious text-content!'; container.appendChild(content); + +const p1 = document.createElement('p'); +p1.style.color = "#f00"; +p1.textContent = "Hey I'm red!"; + +container.appendChild(p1);