Are you sure you're getting this? Click the correct answer from the options.
Which method can be used to append a new element to the DOM?
Click the option that best answers the question.
- appendChild()
- createElement()
- setAttribute()
- querySelector()
Which method can be used to append a new element to the DOM?