Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const sectionB = document.querySelector('section#b');
- const p4 = sectionB.getElementsByTagName('p')[0];
- p4.style.backgroundColor = 'red';
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement