AJAX
Due: 11:00pm, Monday March 29, 2021
Max grace days: 2
Description
The goal for this assignment is to use JavaScript and AJAX to generate a grade report for students in a class from different data exchange formats. This assignment contains the following files: index.html
, grades.json
, grades.xml
, code.js
, and style.css
. You need to edit the code.js
file.
The grades.json
and grades.xml
files encode the data in JSON and XML respectively. You need to recreate the table from the first assignment (without the final summary row) by making an HTTP request to the appropriate file, processing the results, and appending a DOM element representing the table to the appropriate div. The code.js
file is started for you and contains comments where you need to add code.
Turning in the Assignment
For this assignment, you must turn in a zip file containing the following files:
code.js
Submit the zip file to the appropriate folder on D2L.
Grading Criteria
Grading (out of 100 points):
- 10 points – Documentation
- 10 – complete documentation that follows the standards
- 5 points – incomplete documentation and/or documentation that does not follow the standards
- 0 points – no documentation
- 45 points – JSON Based Implementation
- 45 points – correct implementation
- 30 points – partially correct implementation
- 0 points – incorrect implementation
- 45 points – XML Based Implementation
- 45 points – correct implementation
- 30 points – partially correct implementation
- 0 points – incorrect implementation