I just downloaded Aptana studio 3.I created a new web project.Now inside the root directory of the project I created my html file.I created a new file by right clicking on the js folder(the one inside aptana) and named it practice.js.Below is the code for the 2 files.
Code:
<!doctype html>
<html>
<head>
	<title>Practice Canvas in Aptana</title>
	<style>
	canvas{
	border : 1px solid black;
	}
	</style>
	<script src="C:\Users\<myusername>\Documents\Aptana Studio 3 Workspace\practice\js\practice.js"></script>
</head>
<body>
<canvas id="drawingBoard" width="600" height="200"></canvas>
<p>
	<label for="shape">Select shape : </label>
	<select id="shape" >
		<option value="square">Square</option>
		<option value="circle">Circle</option>
		<option value="triangle">Triangle</option>
	</select>
	<br>
	<p>
	<input type="button" id="goButton" value="Go">
	</p>

</body>
</html>
Code:
window.onload = function(){
 alert("Hello");
};
My javascript is still not running.What do i do???

Thanks in advance.