Legacy demonstration: clicking the button preserves the original behavior by replacing the page with document.write() output.
document.write()
Return to tutorial on window prompt