Simple Mortgage Calculator Widget

New Users: The code below will work as soon as you Get Your API Key.
Please note thatYOUR-API-KEYparameter must be replaced with a valid API Key.
API Key:
Your API Key is already inserted into your Cut-and-Paste code.
You can cut and paste the code below into any page that you like and the Mortgage Calculator Widget will work automatically.
<div id="mc-calc"></div>
<script>
    document.addEventListener('DOMContentLoaded', function () {
        let element = document.getElementById('mc-calc');
        let calculator = new mortgagecalculator.ca.Calc(element, {
            type: mortgagecalculator.ca.Type.WIDGET,
            province: 'ON',
            price: '$500,000'
        });
    });
</script>
<script src="https://widget.mortgagecalculator.ca/js?key={YOUR-API-KEY}"></script>
<div>Provided by <a href="https://mortgagecalculator.ca">MortgageCalculator.ca</a></div>

Customize Mortgage Calculator

If you need to change font or colors, you have 2 options: