Html5 canvas not working in dreamweaver cc
I am trying to use canvas in html5 and this is a sample that I have seen work but not working in my dreamweaver cc
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>bumple test</title>
</head>
<body>
<canvas id="myCanvas" width="200" height="200" style="border: 1px solid #999999">
</canvas>
<script type="application/javascript" language="javascript">
var c =document.getElementById("myCanvas");
var ctx= c.get.Context("2d");
ctx.beginPath();
ctx.fillStyle="green";
ctx.fillRect(0,0,100,100);
what am I doing wrong, I get the grey screen but doesn't move onto canvas.
Thanks
Jen
</script>
