Question: You are required to write an HTML / JavaScript program, which takes the URL of a JSON document containing Trucking companies information, parses the JSON

You are required to write an HTML/JavaScript program, which takes the URL of
a JSON document containing Trucking companies information, parses the JSON
file, and extracts the list of trucking companies, displaying them in a table. The
JavaScript program will be embedded in an HTML file so that it can be executed
within a browser.
Your program should display a text box to enter the JSON file name as
shown below in Figure 1. On clicking the Submit Query button, your
program should display the table as shown below, Figure 2. If the text box is
left empty and Submit Query is clicked, an appropriate error message must
be shown.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!