+ 1
I tried encapsulating that code in the script tag in html using two different ide (bracket and dream weaver) but it couldn't run
2 Antworten
+ 4
it runs but it logs the message on the console not the html page. u can replace console.log() with document.write()
+ 1
yh when I replaced it,there still wasn't no change.