In tutorials I\'ve learnt to use document.write. Now I understand that by many this is frowned upon. I\'ve tried print(), but then it literally sen
document.write
print()
As a recommended alternative to document.write you could use DOM manipulation to directly query and add node elements to the DOM.