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 Resposta
+ 1
I think it works. You should delete the comment tags.
https://code.sololearn.com/W1HlNNi6Sryu/?ref=app