This section will focus on javascript tasks which use the new HTML 5 tags.
The HTML 5 canvas tag allows you to do simple drawings using a graphics context. <canvas width=”500″ height=”500″ id=”mycanvas”> </canvas> You can do some simple drawings by following the example in http://www.w3schools.com/html5/html5_canvas.asp Your task is to draw a smile on the canvas. The task will be accepted as long as you use the […]
Your task is to create a simple webpage which has a single button on it. When you press the button some music will play. When you press it again the music will pause. You do NOT have to use jQuery but a lot of examples (including the one linked) use jQuery. You will be expected […]
You are to create a simple animation which will draw a slowly increase circle, starting from the centre of the screen. You will need to use the HTML 5 canvas tag as well as the setInterval() javascript method. http://www.w3schools.com/jsref/met_win_setinterval.asp The circle should start off small in the centre of the screen. It will then slowly […]