Good day everyone..
I'm very very new to javascript, i found this tutorial i was reading and it said to insert the below javascript code to a HTML document between the <body> </body> tags. The code is :
<script language=“JavaScript”>
<!- -
document.writeln(“Hello, welcome to my page.” );
//-->
</script>
I inserted this to a HTML document i had written before but it DIDN'T WORK i.e no changes were reflected. I then created a new HTML document and inserted the code but i gave me a BLANK page. I tried on both safari and mozilla both of which javascript has been enabled. Please an ideas on what the problem might be??
Thanks for you help