Build a simple and modern app in Javascript to calculate Simple interest and Compound interest.
Features covered:
1. S.I. calculator
2. C.I. calculator
3. Validation handling of inputs
Javascript formulas for interest calculations:
Simple : PA * (1 + (IR * DY))
Compound: PA * Math.pow((1 + (DY / FY)), FY*DY)