0
why we will use java to print hello instead of html.
2 Antworten
+ 1
that's because sometimes you have to change properties or text by code. Like when you click on a button you could for example show the date. So you listen for the onclick event of the button and print the date when the button is clicked
p.s it's javascript not java, if you say it wrong it leads to confusion
0
thanks