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()
Try to use getElementById() or getElementsByName() to access a specific element and then to use innerHTML property: