To remove a child element, you should use the removeChild method on the _________ element.

  • parent
  • child
  • document
  • sibling
To remove a child element from the DOM using JavaScript, you should use the removeChild method on the parent element that contains the child you want to remove. The removeChild method doesn't directly operate on the child element itself.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *