A pre-built Mortgage Payment Calculator widget created using Vanilla JavaScript
, HTML
and CSS
, ready to use in your web application.
This is a tool that calculates mortgage rate that can be embedded into a website as a 3rd party widget.
This structure provides these advantages:
- Small footprint and solid snippet.
- Multi-instance on the same page.
- Minimal dependecies
- Package size: 12 kB (unzipped)
- Download or Clone the repo.
git clone [email protected]:tlnkzl/mortgage-payment-calculator.git
- Copy the
mortgage-calculator
folder at any location in your project.
Everwhere you want the mortgage-calculator
widget to be placed, add the following markup:
<div id="zuvafetest"></div>
<script id="mortgage-calculator" src="./mortgage-widget/mortgage-calculator.js"></script>
Example of the implementation is here index.html
You can see the widget and play with the codes from here Link