Submission for ES6-Tutorial#81
Open
ipalongengi wants to merge 4 commits intoCUNYTechPrep:masterfrom
ipalongengi:master
Open
Submission for ES6-Tutorial#81ipalongengi wants to merge 4 commits intoCUNYTechPrep:masterfrom ipalongengi:master
ipalongengi wants to merge 4 commits intoCUNYTechPrep:masterfrom
ipalongengi:master
Conversation
- Replace the script on `index.html` to be sourced to the result of transpilation with babel - Add some scripts related to babel and starting an http-server in the `package.json` - Add `build/` and `node_modules/` directories to .gitignore Changes to be committed: modified: .gitignore modified: index.html new file: package.json
- Destructure the `calculateMonthlyPayment()` function - Replace *all* instances of `let` with `var` to achieve the desired block scoping instead of variable scoping - Declare a new function called `calculateAmortization()` that calculates the amortization for each month - Insert an additional inner HTML when the `calculate` button is pressed. Changes to be committed: modified: index.html modified: js/main.js
- Set up webpack and created the necessary config file - Separate the `monthlyPayment` and `amortization` functions into separate class `mortgage.js` and import it to `main.js` - Make some changes to the function that fires on the click of `Calculate` button so as to show bar graphs of progression of payments that need to be made Changes to be committed: modified: index.html modified: js/main.js new file: js/mortgage.js modified: package.json new file: webpack.config.js
- Modify `webpack.config.js` to handle the additional HTML page to be parsed - Create `ratefinder.js` that is called directly by the `ratefinder.html` - Create `rate-service-mock.js` that is uses promise to get data from a mock JSON objects.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is my overdue submission for the ES6-Tutorial lesson.