Tutorials
THE WORLD'S LARGEST WEB DEVELOPER SITE

Exercise:

Use JavaScript to add a red background color to the <p> element.

Hint: Use the document.getElementById() method to find the <p> element. Then, use the style.backgroundColor property to add a background color.