{"id":50771075,"url":"https://github.com/moulahguine/local-storage-project","last_synced_at":"2026-06-11T18:31:28.268Z","repository":{"id":290187258,"uuid":"973626235","full_name":"moulahguine/local-storage-project","owner":"moulahguine","description":"Simple web app showcasing localStorage to save user settings and tasks.","archived":false,"fork":false,"pushed_at":"2025-04-27T13:01:16.000Z","size":808,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-27T13:23:49.869Z","etag":null,"topics":["css","default","html","javascript","links","localstorage","todolist"],"latest_commit_sha":null,"homepage":"https://moulahguine.github.io/local-storage-project/","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/moulahguine.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-04-27T11:53:45.000Z","updated_at":"2025-04-27T13:05:38.000Z","dependencies_parsed_at":"2025-04-27T13:23:51.892Z","dependency_job_id":"5cbeac72-f064-45ba-8163-7528098b66b0","html_url":"https://github.com/moulahguine/local-storage-project","commit_stats":null,"previous_names":["moulahguine/local-storage-project"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/moulahguine/local-storage-project","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moulahguine%2Flocal-storage-project","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moulahguine%2Flocal-storage-project/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moulahguine%2Flocal-storage-project/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moulahguine%2Flocal-storage-project/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/moulahguine","download_url":"https://codeload.github.com/moulahguine/local-storage-project/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moulahguine%2Flocal-storage-project/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34213180,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-11T02:00:06.485Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["css","default","html","javascript","links","localstorage","todolist"],"created_at":"2026-06-11T18:31:27.466Z","updated_at":"2026-06-11T18:31:28.259Z","avatar_url":"https://github.com/moulahguine.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 📦 localStorage Mini Projects\n\nThis project is a simple and clean demonstration of how to use **localStorage** in web development to **save user settings and tasks** permanently (even after refreshing the page).\n\n---\n\n## What I have done:\n\n- ✅ Built a complete **HTML page** with **Header**, **Main Content**, **Settings**, and **Todo List** sections.\n- ✅ Designed a **responsive layout** using **CSS Flexbox**.\n- ✅ Used **FontAwesome Icons** for better UI experience.\n- ✅ Created a **Settings Panel** where users can:\n  - Choose a **font color** for the content text.\n  - Choose a **font size** for the content text.\n  - Reset settings back to **Default**.\n- ✅ Created a **Todo List App** where users can:\n  - **Add** new tasks.\n  - **Delete** tasks.\n  - **Save** all tasks automatically to **localStorage**.\n- ✅ Used **JavaScript ES6+** (arrow functions, template literals, etc.)\n- ✅ Applied **LocalStorage** to **persist** both **settings** and **todos** even after page reload.\n\n---\n\n## Technologies used:\n\n- HTML5\n- CSS3\n- JavaScript (Vanilla)\n- LocalStorage API\n- FontAwesome\n\n---\n\n##  What I plan to improve next:\n\n- **Add theme switching** (Dark mode / Light mode).\n- **Add clear all todos button**.\n- **Mark tasks as completed** with a \"Done\" button.\n- **Save due dates** for tasks.\n- **Make it mobile responsive** (better design on phones).\n- **Validate input** (don't allow empty tasks).\n- **Edit tasks** without deleting them.\n- **Use OOP (Classes)** to better organize the JavaScript.\n- Maybe even build a **small backend (Node.js)** in the future to sync the todos online.\n\n---\n\n## Preview Screenshot:\n\n![localStorage Project Screenshot](images/localstoragescreenshot.png)\n\n---\n\n## What I learned:\n\n- How to use `localStorage.getItem()`, `setItem()`, `removeItem()`, and `clear()`.\n- How to store and retrieve **arrays/objects** in localStorage using `JSON.stringify()` and `JSON.parse()`.\n- How to dynamically **create and remove elements** from the DOM.\n- How to **persist UI state** (color, size, tasks) after reloading the page.\n- Better practice with **Event Listeners**, **forEach**, **filter()**, and working with **IDs**.\n\n---\n\n## Final Words:\n\nThis project is a **solid foundation** for mastering **localStorage**.  \nNext steps will be about making it **even smarter**, **more organized**, and **better designed**.  \nOne day it can even become a real mini app you can publish online!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoulahguine%2Flocal-storage-project","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmoulahguine%2Flocal-storage-project","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoulahguine%2Flocal-storage-project/lists"}