What is the danger of using the document.write() method?

It is less secure than getting the element by its ID.

It will delete all of the HTML content on the page.

It is really slow, so it frustrates users.

It is really slow, so it frustrates users.

It replaces the HTML file with whatever is in the write() method.

It can also cause issues with the loading and order of scripts on the page.