Class Activity 8
- Due Sep 28, 2020 by 10am
- Points None
Note: these are taking on a new format. You will work on parts of the class activities for homework. In class, we will work together. There's nothing to submit to this class assignment.
Overview
We want to begin to move VidQuiz from a client-side app to a client-server app. Specifically, we want VidQuiz to save data server-side instead of client-side. Before we get there, though, we will experiment with adding some AJAX to our existing codebase and add a few very simple server-side pages.
Tasks
Here's our list of tasks:
- make a PHP page that takes information about a video that we are currently saving to localStorage and then sends back a message saying it received it
- add an AJAX call to our video save code that sends the data to the server and uses `console.log` to display the response
- make another PHP page to handle the videos metadata
- add another AJAX call to the save code for the metadata