https://github.com/epictetusz1/library
A simple JavaScript Library app project, from The Odin Project.
https://github.com/epictetusz1/library
datapersistence javascript localstorage oop theodinproject
Last synced: about 1 year ago
JSON representation
A simple JavaScript Library app project, from The Odin Project.
- Host: GitHub
- URL: https://github.com/epictetusz1/library
- Owner: EpictetusZ1
- Created: 2021-08-28T20:20:40.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-09-09T19:49:30.000Z (almost 5 years ago)
- Last Synced: 2025-02-16T15:15:12.225Z (over 1 year ago)
- Topics: datapersistence, javascript, localstorage, oop, theodinproject
- Language: JavaScript
- Homepage: https://epictetusz1.github.io/library/
- Size: 19.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Library
A simple JavaScript Library app to learn OOP, Objects and Object Constructors.
Assignment from [The Odin Project](https://www.theodinproject.com/)
### Things I Learned:
- Accepting HTML Form data
- Using the ```FormData``` object
- Form Data validation (No input sanitization)
- Spread syntax (...), specifically for function calls with Object Constructors
- ```localeStorage``` and preforming CRUD operations on items with it during runtime
- Checking localStorage for user data on page load
- ```Object.prototype``` and creating prototype methods
- Prototypal Inheritance
### Functionality:
- User can store: A collection of the books
- The book data includes: Title, Author, Page Count and if it has been read or not
- User can remove a book at any time, which will also update it in local storage
- User can toggle local storage on or off and not lose functionality
- Dynamically update a books 'Read' status, which is reflected in local storage as well