What is the difference between document.write and console.log?

This was realy helpful. Thank you

1 Like

What do you mean by “inserts text into the document”? Is there a separate location to insert text? On console log, it seems I can type a text and click run. I am new to this and would like clarification.

Thanx much, very clear!!

@mtf mtf your comments and response are really in depth

@mtf I think @edwardtorres53622750 asking the question made me realize I didn’t really understand your response there.


Posted a screen shot of what happens when I enter console.write(1);
How would I enter console.write(); to not get an error code.

you print/write to the console via console.log
you write on webpages via document.write