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.
<!doctype html>
	<title>Practice Canvas in Aptana</title>
	border : 1px solid black;
	<script src="C:\Users\<myusername>\Documents\Aptana Studio 3 Workspace\practice\js\practice.js"></script>
<canvas id="drawingBoard" width="600" height="200"></canvas>
	<label for="shape">Select shape : </label>
	<select id="shape" >
		<option value="square">Square</option>
		<option value="circle">Circle</option>
		<option value="triangle">Triangle</option>
	<input type="button" id="goButton" value="Go">

window.onload = function(){
My javascript is still not running.What do i do???

Thanks in advance.