Canvas pad
Now that we know the basics of the canvas API, let's use our newfound knowledge to create a drawing application called canvas pad. We'll start off with an application that draws black lines, like drawing with a pen on paper. Then we will add a toolbar and menus so that the user can change options such as width, opacity, color, and select different drawing tools.