An exploration of why CSS pseudo elements cannot be applied to <input> elements and a workaround using a <span> wrapper to add icons to buttons, while recommending the use of <button> elements for better semantic and functional practice.
var startPoint = (Math.PI/180)*0;var endPoint = (Math.PI/180)*360;Then you should start the path and draw your circle with the arc method:context.beginPath();context.arc(200,200,150,startPoint,endPoint,true);Finally, add the line to fill your circle with