#General
- This program allows the user to request information from a json server, display it on the page, and clears the information requested by clicking on it.
#Requirements to install and run this program.
- JSON server.
- Access to a terminal.
- Internet browser.
#Instructions
- Open an copy the repo from github.
- Open the terminal and navegate to the directory in which you want to clone the program.
- Use the
git clone
command folled by the pasting the github repo, and press enter. - CD into the file.
- Open the file.
- Run in the terminal
json-server --watch db.json
- Open the file
index.html
in your favorite internet browser.
##Resources
-Adding event listeners: https://www.w3schools.com/jsref/met_element_addeventlistener.asp
-Forms: https://developer.mozilla.org/en-US/docs/Learn/Forms/Your_first_form
-POST: https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API/Using_Fetch
-JSON Server: https://www.npmjs.com/package/json-server