Hello

My name is Max and I'm just learning Javascript and I'm stuck

I have a .txt file called maxcode.js that reads as follows:

var chameleon = "blue";
Var Weight = 1;

I have a file called about.html which has the following code in the head section:

<script type="text/javascript" src="maxcode.js"></script>

In the body section of about.html I have the following code that does not work:

<script language="JavaScript">
<!-- hide from older browser
document.write(chameleon)
//-->
</script>

What do I need to alter in my code so that the word blue is displayed in the web page per my variable?


Thanks so much

Max