phone-com-example

phone.com test

Usage no npm install needed!

<script type="module">
  import phoneComExample from 'https://cdn.skypack.dev/phone-com-example';
</script>

README

Example javascript library on shapes for Phone.com.

Test through npmjs.com website or add the npm package to your project with: npm install phone-com-example --save

Featured shapes:

  • circle
  • right triangle
  • equilateral triangle
  • rectangle
  • square
  • parallelogram

For each shape:

  • calculate the area
  • calculate the perimeter
  • proportionally resize the shape up or down, given a floating-point scale factor