A simple web app to calculate compound interest written in vanilla JavaScript, HTML and CSS. My second intro to DOM manipulation.
The web app is deployed on Azure Static Web Apps and can be viewed here!
- Open Docker
- Run the build command:
docker run -d -p 8080:80 rzkw/calculator
- Enter your principal amount in the 'Principal Amount ($)' field
- Enter your annual interest rate in the 'Annual Interest Rate (%)' field
- Enter how long the principal is being saved for in the 'Time Period (years)' field
- Select how often interest compounds from the drop down selector, press Calculate
The results will be displayed in two segments: the Future Value of the principal and the Total Interest Earned.
If you'd like to contribute:
- Fork my repository
- Create new branch for your changes
- Make your changes
- Commit changes
- Push changes to your forked repo
- Submit pull request
0.1.0 Initial release
0.1.1 Containerised app 20/11/2025
- Reference code: compound calculator from jamezmca
- Docker for Web Developers: Getting Started with the Basics
- Building best practices
- Octopus Deploy: Using the NGINX Docker image
- Docker Blog: Setting non-root user
Any questions/feedback/comments contact me through my website!