Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

calculator

Public visualization

calculator

0 stars0🌍 Public
SSreenivasulu
Last edited Feb 6, 2022
Created on Feb 6, 2022
Forked from Hello VizHub

This interactive simple interest calculator uses a standard web form to compute interest based on principal amount, time in years, and interest rate. Users enter three numeric values into separate input fields and trigger the calculation via an HTML button that calls the `calculate()` function. The JavaScript code retrieves the input values using `document.getElementById()`, applies the formula `(principal*time*rate)/100`, and displays the output in a designated heading element. A reset button reloads the page to clear all values. The interface is styled with custom CSS, using absolute positioning and border styling for a clean, basic layout.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed