Closed corey-richardson closed 6 months ago
Created js/file.js
. This script handles the new form in the 'Add a New Item' section of the web application.
<div class="form-container" id="file-io">
<form class="file-actions">
<button id="download-button">Download Database</button>
<input type="file" id="file-input-field" accept=".json">
<button id="upload-button">Upload JSON</button>
</form>
</div>
Download
ButtonChoose File
InputUpload JSON
ButtonUpdated all documentation to reflect change. Merged branch file-upload-download
into main
.
All projects must demonstrate the following:
All projects must demonstrate the following:
JSON input/output is currently saved to the Browser
localStorage
attributeA feature to allow file upload/download will better satisfy the coursework criteria. I believe the current implementation will still fall in line, but I want to be safe.