From 8549d16590f725429c923096e52d4a2c80d23a3c Mon Sep 17 00:00:00 2001 From: Jeff Bowen Date: Wed, 26 Apr 2017 14:11:02 -0500 Subject: [PATCH] Add amortization table creation step to Classes The "Modify the calcBtn..." step references an element with id `amortization` but no such element exists so upon clicking the "Calculate" button, you get an error. Added a step to add a `` element to `index.html` so that the amortization table will display. --- classes/index.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/classes/index.html b/classes/index.html index a83b9b3e7..fcfa43934 100644 --- a/classes/index.html +++ b/classes/index.html @@ -155,6 +155,10 @@

Part 1: Using a Class

document.getElementById("amortization").innerHTML = html; }); + +
  • Open index.html. Add the <table> block below to display the amortization table right under the monthly rate:

    + +
    <table id="amortization">%lt;/table>
  • On the command line, type the following command to rebuild the application:

    @@ -357,4 +361,4 @@

    Additional Resources

    - \ No newline at end of file +