html - calculate radius of a circle using javascript -
I am trying to calculate the radius of a circle using javascript.
< Pre class = "snippet-code-html lang-html prettyprint-override"> .circle {position: absolute; width: 100px; height: 100 pixels; border-radius: 70px; background: red;}
section class = "circle">
The width and height of this circle is 100x100. How do I calculate my radius?
Comments
Post a Comment