Closed KasonBraley closed 3 years ago
This PR introduces our first steps toward introducing Local Storage into our app. This commit: https://github.com/Loki-Code201/PantryPal/issues/22#issuecomment-891452000 contains the first functions for working with local storage.
Also fixed my mistake with the pantry.html file location.
This is the main part of rehydrating the parsed JSON string backed into a PantryItem object. https://github.com/Loki-Code201/PantryPal/blob/3996f2141e00ba6ba54c8012cacb03b5d79038ff/js/pantry.js#L78-L81
PantryItem
Let me know if you have any Questions or Issues
This PR introduces our first steps toward introducing Local Storage into our app. This commit: https://github.com/Loki-Code201/PantryPal/issues/22#issuecomment-891452000 contains the first functions for working with local storage.
Also fixed my mistake with the pantry.html file location.
This is the main part of rehydrating the parsed JSON string backed into a
PantryItem
object. https://github.com/Loki-Code201/PantryPal/blob/3996f2141e00ba6ba54c8012cacb03b5d79038ff/js/pantry.js#L78-L81Let me know if you have any Questions or Issues