There is no display in the browser according to the typed code, f12 displays: Uncaught TypeError: Document.write is not a function
getElementById, not getElementsById
getElementById, not getElementsById