Good day:
I created the following code for my Grade 4 computer students:
I am using Chrome. I simply wrote the code in a text file and changed the filename to "filename.html"
Why doesn't it work please? Thank you.
<HTML>
<HEAD>
<SCRIPT LANGUAGE="vbscript">
Sub cmdButton1_OnClick
msgbox("hello world")
End Sub
</SCRIPT>
</HEAD>
<BODY BGCOLOR="blue">
<INPUT TYPE="button" NAME="cmdButton1" VALUE="Run Code">
</BODY>
</HTML>
I created the following code for my Grade 4 computer students:
I am using Chrome. I simply wrote the code in a text file and changed the filename to "filename.html"
Why doesn't it work please? Thank you.
<HTML>
<HEAD>
<SCRIPT LANGUAGE="vbscript">
Sub cmdButton1_OnClick
msgbox("hello world")
End Sub
</SCRIPT>
</HEAD>
<BODY BGCOLOR="blue">
<INPUT TYPE="button" NAME="cmdButton1" VALUE="Run Code">
</BODY>
</HTML>