Inserting data into the section tag of start page

Assignment Help Computer Engineering
Reference no: EM131475034

Tutorial 1

Using an instance of the XMLHttpRequest object, you should query the server tmaserv.scem.uws.edu.au to retrieve and insert the supplied information into the DOM inside the section tag of start.html. You should retrieve two items of information, from the following links:

- the contents as a simple HTML fragment.

- Each of the fruit names and descriptions, with the name being a heading and the description a paragraph from https://tmaserv.scem.uws.edu.au/fruit.json.

This should be parsed, processed and output through the use of javascript rather than simply pasting the text into the DOM.

For each of the questions above you should start with a fresh version of start.html. You may add any attributes you wish to the HTML, however your code must respect the rules for attributes.

These tasks will be used in Tutorial Set D as Questions 1 and 2.

Tutorial 2:

Using an instance of the XMLHttpRequest object, you should query the server tmaserv.scem.uws.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 https://tmaserv.scem.uws.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.

These tasks will be used in Tutorial Set D as Question 3.

Final Result Files:

You should submit the results of the Weeks 9 and 10 exercises as Tutorial Set D.

You must submit 3 files as a ZIP archive, any other archive format (for example RAR, TAR, TAR.GZ, 7Z etc) will not be accepted and a mark of zero (0) will automatically awarded.

Each of the three files must be named <SID>-set-d-question-<X>.html where <SID> is your student ID, and <X> is the question number. Week 9's work is questions 1 & 2, Week 11's work is question 3. Failure to follow this naming scheme will also result in a mark of 0.

If you use an external framework like jQuery for any of the exercises you will receive a mark of 0, for that question.

The name of the ZIP file does not matter, and you MUST NOT submit a coversheet.

Submit your file via the submission link below, it will be marked according to the attached rubric.

By submitting you certify that:

- you hold a copy of this assignment if the original is lost or damaged.

- you hereby certify that no part of this assignment or product has been copied from any other student's work or from any other source except where due acknowledgment is made in the assignment.

- No part of the assignment/product has been written/produced for me by any other person except where collaboration has been authorised by the subject lecturer/tutor concerned


Attachment:- start.rar

Verified Expert

This assignment make use of XMLHttpRequest object to fetch the data from the given link and parses the data using the JSON functionality of JavaScript. It also make use of the local storage functionality for storing and displaying the data to the user

Reference no: EM131475034

Questions Cloud

How would you define professional competence : how would you define professional competence? What relationship do you think exists between higher education and professional competence?
Do you agree that mining physician data should be illegal : Do you agree that mining physician data should be illegal - why or why not? As a patient how do you feel about pharmaceutical companies mining your doctor''s data?
What are the five cs that employers are looking for : what are the "Five C's" that employers are looking for and how do see understanding and applying this information will be useful in you program of study.
Career interests and market research : Conduct labor market research on the two careers, and fill in the following table regarding the research you conducted.
Inserting data into the section tag of start page : Using an instance of the XMLHttpRequest object, you should query the server with the ultimate aim of inserting data into the section tag of start.html.
How does the falling yen against the dollar affect toyota : How does the falling yen against the dollar affect Toyota?
Gordon rule essay : The time for all Gordon Rule essays is limited to one (1) hour. Once you open the essay you must complete it within the one 1 hour time frame.
How would assess the business risk of hih insurance limited : HA3032 AUDITING AND ASSURANCE SERVICES INDIVIDUAL ASSIGNMENT. How would you assess the business risk of HIH Insurance Limited
The role of empathy in the counseling relationship : How the counselor knows that his/her responses effectively address the client's message. Provide at least one example to illustrate your response.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd