Draw a circle on the HTML5 canvas

Fetches the canvas element. Creates a 2D context. Clears the canvas, then sets the fill style to red and then creates a circle path using the arc method. Finally it fills the circle with the red color.with the selected color.