I want to make site similar to Area Calculator. This site is basically for calculating the area of basic shapes. I want to do something similar to this using
- HTML & CSS
I know it is not that difficult but I have some questions.
- In the above website, as you can see each shape has its on form and input fields. So to implement this, should I create different html forms for each basic shape ? Or can I just use a single html form?
- Also, do I need to create different php files for each shape. I am planning to use php to calculate the area of a shape. So should I create different php files for each shape?