+ 3
What's the difference between document.write and console.log?
Hey, I did another tutorial on the internet and it told me to write console.log() when I want to show something. But here I see document.write. So what's the difference please? Thank you and apologize for my English
3 Answers
+ 3
document.write is a method that writes text right on your page, console.log is rather used to debug your code and it isn't part of website



