JavaScript Display Possibilities

Window. Alert()  = for alert box when we open the HTML page
Document. Write() =  if is it text  then we put that in  quotes  like…“ I am text”
If it is value then we do not use quotes .
innerHTMl. = to change the inner HTML values, styles anything.
Console.log() =  to check your  methods  to browser that its working or not. Click F12  and go to console and enable it then see your result of methods in browser.


Popular Posts