0
Pls what's wrong with my simple code? It won't run no matter whatđ˘đ¤ˇ
<script type="text/javascript"> <!-- function sayHello() { alert("Hello World") } //--> </script> <script type="text/javascript"> <!-- document.write("Hello World") //--> </script> <input type="button" onclick="sayHello()" value="Say Hello" />
1 Answer
+ 1
I think it works. You should delete the comment tags.
https://code.sololearn.com/W1HlNNi6Sryu/?ref=app