I have made some HTML file in notepad++ and named it HTML game. Afterwards I created a JS file named myscript. Within the HTML file I placed this code:
Within the JS file just this:
alert ("Hi there");
Just replace this <script src="myscript".js></script> with <script src=myscript.js></script>
I think it should work
Reply here if not work properly.
Always Quote Attribute Values
Attribute values should always
be enclosed in quotes.
Double style quotes are the most common, but single style quotes are also allowed.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)