Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

(Urgent) Using an instance of the XMLHttpRequest object, you should query the server tmaserv.scem.westernsydney.edu.au with the ultimate aim of inserting data into the section tag

(Urgent)

Using an instance of the XMLHttpRequest object, you should query the server tmaserv.scem.westernsydney.edu.au with the ultimate aim of inserting data into the section tag of start.html. You should:

  1. Use the Do Exercise button to retrieve and store the JSON data from http://tmaserv.scem.westernsydney.edu.au/fruit.json into local storage WITHOUT displaying to the screen. This data contains the fruit names and descriptions.
  2. Continue the page used in the above question (Question 1) and create a second button. This button will run a second function (created by you) to read the information stored in the local storage. The information should then be displayed to the screen by inserting it into the section tag. The information should be displayed with the name being a heading and the description a paragraph.

You may add any attributes you wish to the HTML, however, your code must respect the rules for attributes.

HTML file to be used

Starting Point

Paragraph One.

Paragraph Two.

Paragraph Three.

Thanks

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_2

Step: 3

blur-text-image_3

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

Visual C# And Databases

Authors: Philip Conrod, Lou Tylee

16th Edition

1951077083, 978-1951077082

More Books

Students also viewed these Databases questions