0
Please, do not use document.write()
People shouldn't learn to program using document.write(). It's a bad practice: https://stackoverflow.com/questions/802854/why-is-document-write-considered-a-bad-practice and there are alternatives: https://blog.dareboost.com/en/2016/09/avoid-using-document-write-scripts-injection/
1 Answer
+ 2
if ur not receiving any inputs to obtain an argument for the write method it is okay