Question
What is the danger of using the document.write() method?
(1 point)
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 replaces the HTML file with whatever is in the write() method.
(1 point)
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 replaces the HTML file with whatever is in the write() method.
Answers
GPT 3.5
It will delete all of the HTML content on the page.