Delete specific DOM elements by iterating through the NodeList returned by querySelectorAll and calling remove on each item.