What happens when this code is run?
document.write("<h1>Welcome to my website</h1>");
An error occurs.
"Welcome to my website" is logged to the console.
A prompt asking "Welcome to my website" appears.
A heading with "Welcome to my website" replaces the entire webpage content.