Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tokisuno/muistilista
https://github.com/tokisuno/muistilista
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/tokisuno/muistilista
- Owner: tokisuno
- Created: 2024-08-07T16:15:31.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-08-15T16:43:54.000Z (4 months ago)
- Last Synced: 2024-08-15T18:45:52.685Z (4 months ago)
- Language: JavaScript
- Size: 27.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# muistilista (todo list)
## Thu 15 Aug 2024 12:33:14 PM EDT
### Thoughts
- I think while writing this, the deeper I got into it, the more I wished I didn't write it the way that I did. I will go back to this again in the future since this is a really useful project to use when learning web development, but as of right now I would rather not look at what I wrote.- About 1-2 days ago I realized that I could have expanded upon my class instructions in order to add methods for Lists() that would { addList(), removeList(), addItem() }. This would cover my edge cases I reckon, and items would have a method inside of them to edit themselves.
- Drawing the DOM in the way that I want to is really difficult, and I think that is solved once again by better structuring my drawing functions into their own files and having EventListeners to call based on the state of the html elements.
- I am still proud of myself for what I was able to learn and accomplish through this project however, even though my writing style makes me sound like I hate the world. I learned:
* how to use localStorage
* how to create data structures using classes
* how to write to localStorage
* how to read back into browser storage and re-create the original json structure onload.- Literally once I got into the DOM I starting vomiting spaghetti all over my keyboard. The logic itself is more than functional, and expanding upon itself is easy.
- Once again, this will lay dormant until I eventually rewrite this into something I am actually proud of. As of right now, I am really mentally blocked.