Question: In this assignment, you will create a JSON data file. This data file will be used in an upcoming assignment where we'll be using AJAX
In this assignment, you will create a JSON data file. This data file will be used in an upcoming assignment where we'll be using AJAX to pull in an external data file.
Remember that a JSON data string is very similar to a JavaScript object. There are, however, a couple of differences.
- All keys must be in quote marks.
- It can not contain any functions.
- "Tab" characters are not allowed. Instead, use spaces to indent any lines.
Your JSON data should contain the following information for 5 students:
- First name
- Last name
- Favorite subject in school
- Favorite hobby
- Favorite color
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
