I'm having trouble making a canvas element appear as a circle like any other div. Here is my code, please take a look and let me know what I'm doing wrong with the border-radius property:
<canvas id="myCanvas" width="200" height="200" style="background-color:red;border:1px solid;border-radius:50%">
The border-radius property doesn't seem to be working the same way it does on a regular div. I actually want to create shapes like rectangles, squares, and circles on the canvas. Can anyone help me out?
`