Yemaya RePro Student 1,179 Points
"Fill in the blank to write a message to web browser".../can they be more specific??
I wrote console.log... and apparently I'm wrong...there are a few ways to write a message to the browser...what do they mean...document.write...alert("<h1>...")... they need to be mmore specific with this question. Thanks
Valeshan Naidoo15,010 Points
document.write is the correct answer. Web browser is the window that the user views. The alert function isn't writing a message on the browser, it's popping up an alert box. The console.log prints a message on the console, but not on the web browser window.