Thank you, edited it. But actually as far I learned no one mentioned that document.write() is deprecated but I think it is a bad practice. Am still a novice in JS. Thank you for pointing it out.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Thank you, edited it. But actually as far I learned no one mentioned that document.write() is deprecated but I think it is a bad practice. Am still a novice in JS. Thank you for pointing it out.