To see the live site use this url: Ernst and Young: test
If you are cloning this repo and wanted to locally host on your mechine please see instuctions below.
- After cloning this repo, open a new terminal window then
cd
to where you cloned this project, then writenpm install
to add the dependencies. - Once the
node_modules
is downloaded writecd ..
, then writenpm start
.
- React, CSS, JSX, Netlify, GitHub, NodeJS, NPM, JSON
We'd like to give you a real-world exercise. Please provide us with the code solution you come up with. If you don't have a final working solution, please show whatever solution you did come up with, what roadblocks there were, etc. The journey can be as important as the destination!
Attached are three files containing three JSON objects:
- Object1.json
- Object2.json
- Object3.json
The tree structure of each object is identical, except that each item in each JSON object contains a different value for the "value"
key; e.g.:
"value":"2191"
"value":"2336"
"value":"2447"
Using the programming language du jour of your choosing, please write some code that will combine all three objects into a single object, where the "value" node contains the sum from all three objects. In the examples cited above (2191 + 2336 + 2447 = 6974), this particular node would be "value":"6974"
. All other structural hierarchy needs to remain in-tact.
Not required, but if you can produce a .json file containing the output of the merge, that would help us expedite your results.
If you want to dress up the results in a visually pleasing format, feel free! This could be HTML, JSX, (S)CSS, etc.