Mark As Completed Discussion

Let's test your knowledge. Click the correct answer from the options.

Which method is used to append a new element to an existing element in the DOM?

Click the option that best answers the question.

  • appendChild
  • createElement
  • setAttribute
  • querySelector