JSON - Create 5 records in JSON format with 4 fields
Below is a list of 5 tv shows with the 4 fields of
title, main character, network or streaming service, and start date,
stored in a JSON-formatted string, parsed using JSON.parse() to convert to a JS object,
rendered using a forEach loop, and displayed using inner.HTML.
jQuery 2 - Use jQuery AJAX to display the content of a text file.
Below is a button, that, when clicked, shows a text file. Using the jQuery AJAX load() method, it takes
data from the text file jQuery.txt, and displays the returned data into the div id element (named "ajax") onto the h2 below.
Click the button 'Load Content' to display the text file contents of jQuery2.txt.