Mostly fixed Dropbown button after label, name changes
added error CSS for when there is a blank value.
added checking for blanks to the Modal
Save changes now functions to save a full entry.
When the page loads, the page will now check localStorage for any existing games. If it finds them, it will load to the list.
Additionally, It will only have unique game titles.
TODO: Move this off into separate functions. This onLoad function is doing a LOT of heavy lifting and probably shouldn't be.
Known Bugs still present
Possible bug: Value did not clear after entry. This may be due to a regression I introduced, but I'm not certain.
Still need to figure out how to make sure game title adds to local storage. Presently, you can go to the Modal and add that way, but you should also be able to do that. (My problem to solve.)
Data still needs to render to the screen
There is a minor bug where if the user enters a new title from the Modal, they will need to refresh for that to appear in the list.
CSS: Still haven't looked into the background image yet. It's on my list, but only once I've got MVP stuff done on my side.
Testing:
Tested and should be working, but let me know if you find something.
Change Log
NOTE: This is all within context of Single Player
When the page loads, the page will now check localStorage for any existing games. If it finds them, it will load to the list.
Additionally, It will only have unique game titles.
TODO: Move this off into separate functions. This onLoad function is doing a LOT of heavy lifting and probably shouldn't be.
Known Bugs still present
Testing: