Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Here is the proposed question: Now create a file in the folder named db.json. In this file you need to add json data representing your

Here is the proposed question:

Now create a file in the folder named db.json.

In this file you need to add json data representing your transactions. See the example:

{ "transactions":

[

{"id": 1, "date": "4/22/2021", "description": "debit", "amount": 50}

{"id": 2, "date": "4/23/2021", "description": "credit", "amount": 20.00}

]

}

Remove your array from last week and modify your code to call your new rest server. My question is... How do I modify my JavaScript and html code to call the rest server and how do write the code (for loop) that will display the array that is being called from the db.json file to display in the html file as a table?

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Web Database Development Step By Step

Authors: Jim Buyens

1st Edition

0735609667, 978-0735609662

More Books

Students also viewed these Databases questions