Question: Follows all coding standards of this class, all instructor recommendations, and techniques learned in previous assignments. The program must work per specifications. This program will
Follows all coding standards of this class, all instructor recommendations, and techniques learned in previous assignments. The program must work per specifications.
This program will use different JSON data file than the previous assignments. The main function should use fetch to read in this JSON file: ~tpollardcscidatawarholjson'
Then convert the JSON data string into a JavaScript object.
Pass the object to a function that processes the object and builds the new DOM nodes.
Read the contents of the template element from the DOM.
Loop through the object.
Read a record from the object.
Create a clone of the template using cloneNode.
Add the 'title' value from the object to the contents of the tag. Format the variables so there is one space between each variable.
Add the 'credit' value from the object to the contents of the head
body
body
THE PICTURE IS THE HTML CODE
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
