I followed your HTML 5 tutorials. Its awesome and easy to understand.
While explaining canvas topic you gave one task to do that is to make a star.
I tried for it
This is my code here
!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<title>StarCanvas</title>
<script src="StarCan.js"></script>
</head>
<body>
<canvas id="canvasstar" width="800" height="800">

</canvas>
</body>
</html>

window.addEventListener("load",doFirst,false);

function doFirst()
{
scanvas=document.getElementById("canvasstar");
can_Context = scanvas.getContext("2d");
can_Context.beginPath();
can_Context.moveTo(120,120);
can_Context.lineTo(50,100);
can_Context.lineTo(120,80);
can_Context.lineTo(150,20);
can_Context.lineTo(180,80);
can_Context.lineTo(210,20);
can_Context.lineTo(240,80);
can_Context.lineTo(310,100);
can_Context.lineTo(240,120);
can_Context.lineTo(310,140);
can_Context.lineTo(240,160);
can_Context.lineTo(210,220);
can_Context.lineTo(180,160);
can_Context.lineTo(150,220);
can_Context.lineTo(120,160);
can_Context.lineTo(50,140);
can_Context.closePath();
can_Context.stroke();
}

Is it the correct way are do it had another way also please help to improve my knowledge and send some more tasks like this

Thank u
P.Prasanna