{"id":31766221,"url":"https://github.com/ayokanmi-adejola/to-do-app","last_synced_at":"2025-10-10T00:30:09.839Z","repository":{"id":292849738,"uuid":"982133990","full_name":"Ayokanmi-Adejola/To-Do-App","owner":"Ayokanmi-Adejola","description":"A responsive Todo app built with vanilla JavaScript, HTML, and CSS that features theme switching, CRUD operations for tasks, filtering, drag-and-drop reordering, and local storage persistence.","archived":false,"fork":false,"pushed_at":"2025-06-20T09:30:20.000Z","size":419,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-30T00:00:42.541Z","etag":null,"topics":["css3","drag-and-drop-api","htlm5","localstorage","mobile-first-workflow","vanilla-js"],"latest_commit_sha":null,"homepage":"https://to-do-app-beta-ivory.vercel.app","language":"JavaScript","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/Ayokanmi-Adejola.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-05-12T12:28:04.000Z","updated_at":"2025-09-15T13:29:25.000Z","dependencies_parsed_at":"2025-05-12T13:48:56.911Z","dependency_job_id":"ccfa3a94-97fd-49dc-8d16-3d4361d791f5","html_url":"https://github.com/Ayokanmi-Adejola/To-Do-App","commit_stats":null,"previous_names":["ayokanmi-adejola/to-do-app"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Ayokanmi-Adejola/To-Do-App","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ayokanmi-Adejola%2FTo-Do-App","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ayokanmi-Adejola%2FTo-Do-App/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ayokanmi-Adejola%2FTo-Do-App/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ayokanmi-Adejola%2FTo-Do-App/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ayokanmi-Adejola","download_url":"https://codeload.github.com/Ayokanmi-Adejola/To-Do-App/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ayokanmi-Adejola%2FTo-Do-App/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279002359,"owners_count":26083356,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-09T02:00:07.460Z","response_time":59,"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":["css3","drag-and-drop-api","htlm5","localstorage","mobile-first-workflow","vanilla-js"],"created_at":"2025-10-10T00:29:49.272Z","updated_at":"2025-10-10T00:30:09.832Z","avatar_url":"https://github.com/Ayokanmi-Adejola.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Frontend Mentor - Todo app solution\n\nThis is a solution to the [Todo app challenge on Frontend Mentor](https://www.frontendmentor.io/challenges/todo-app-Su1_KokOW). Frontend Mentor challenges help you improve your coding skills by building realistic projects.\n\n\n\n## Overview\n\n### The challenge\n\nUsers should be able to:\n\n- View the optimal layout for the app depending on their device's screen size\n- See hover states for all interactive elements on the page\n- Add new todos to the list\n- Mark todos as complete\n- Delete todos from the list\n- Filter by all/active/complete todos\n- Clear all completed todos\n- Toggle light and dark mode\n- **Bonus**: Drag and drop to reorder items on the list\n\n### Screenshot\n\n![Todo App Screenshot](./design/desktop-preview.jpg)\n\n\n\n## My process\n\n### Built with\n\n- Semantic HTML5 markup\n- CSS custom properties\n- Flexbox\n- Vanilla JavaScript\n- Local Storage for data persistence\n- Mobile-first responsive design\n- Drag and drop API\n\n### What I learned\n\nThis project was a great opportunity to practice building a fully functional application with vanilla JavaScript. Some key learnings include:\n\n- Implementing a theme toggle (light/dark mode) with CSS variables and JavaScript\n- Using localStorage to persist user data\n- Creating a drag and drop interface for reordering items\n- Building a responsive design that works well on both mobile and desktop\n- Managing application state and rendering based on filters\n\nHere's a code snippet showing how the theme toggle functionality was implemented:\n\n```js\n// Theme toggle\nthemeToggle.addEventListener('click', () =\u003e {\n  document.body.classList.toggle('dark-theme');\n  const isDarkTheme = document.body.classList.contains('dark-theme');\n  themeIcon.src = isDarkTheme ? './images/icon-sun.svg' : './images/icon-moon.svg';\n  localStorage.setItem('darkTheme', isDarkTheme);\n});\n```\n\nThe CSS variables made it easy to switch between themes:\n\n```css\n:root {\n  /* Light Theme */\n  --very-light-gray: hsl(0, 0%, 98%);\n  --very-light-grayish-blue: hsl(236, 33%, 92%);\n  /* ... other light theme variables ... */\n\n  /* Dark Theme */\n  --very-dark-blue: hsl(235, 21%, 11%);\n  --very-dark-desaturated-blue: hsl(235, 24%, 19%);\n  /* ... other dark theme variables ... */\n}\n\nbody.dark-theme {\n  background-color: var(--very-dark-blue);\n  background-image: url('./images/bg-desktop-dark.jpg');\n}\n```\n\n### Continued development\n\nIn future projects, I'd like to focus on:\n\n- Improving accessibility features\n- Adding animations for a more polished user experience\n- Implementing more advanced drag and drop functionality\n- Exploring frameworks like React for state management in larger applications\n\n### Useful resources\n\n- [MDN Web Docs](https://developer.mozilla.org) - Comprehensive documentation for HTML, CSS, and JavaScript.\n- [CSS-Tricks](https://css-tricks.com) - Great resource for CSS techniques and flexbox guides.\n- [JavaScript.info](https://javascript.info) - Detailed explanations of JavaScript concepts.\n\n## Author\n\n- Frontend Mentor - [@Ayokanmi-Adejola](https://www.frontendmentor.io/profile/Ayokanmi-Adejola)\n\n## Acknowledgments\n\nThanks to Frontend Mentor for providing this challenge and to the community for their support and feedback.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fayokanmi-adejola%2Fto-do-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fayokanmi-adejola%2Fto-do-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fayokanmi-adejola%2Fto-do-app/lists"}