chrisksamueljr / morgan-stanley-phone-screen-project

A UI Coding Excercise .
0 stars 0 forks source link

Construct a data response (based on the data in the images) as you would ideally #2

Closed chrisksamueljr closed 5 years ago

chrisksamueljr commented 5 years ago

like to see it coming from a server API. Think about how your response model could

be used not only on this UI, but on other future UIs as well.

chrisksamueljr commented 5 years ago

The sample json is available in the AppComponent you can not use the 4 digits since octal literals This is because use of octal literals was supported in ES3 and denoted by a starting 0. Since ES5 these have been deprecated as these are ambiguous and can lead to errors

a simple 1 2 3 4 5 based on the size of the numbers works with this branch

chrisksamueljr commented 5 years ago

This is my solution a data structure that mocks how the response would be.

{ identity: '0029', name: 'AAA', available_cash: '39,160,334.42', today_change: '0.07% /$31, 435,87', positive: false }