To Do List Update

 

To Do List update

Welcome back, everyone. I know it has been a while, and sadly, I'm posting this later than I originally planned to, due to some personal issues. But I have good news, I finally finished my To Do List app.


Features:

It doesn't have anything crazy, but it does have a counter that shows you how many tasks you have completed and how many you have in total. Here is a full breakdown:

  • 3-dot menu:  Instead of a button for deleting and editing a task, I added a 3-dot menu. You can click on the task itself to delete/edit it.
  • Task counter: I added a simple counter that counts the number of tasks you have completed and how many you have in total. This was surprisingly more difficult than I had imagined

  • Checkbox: I added a checkbox. This was relatively easy, although making it sync with the counter was more challenging.

  • Buttons: I got 2 buttons add task button which, as the name says, just adds a task you have written, and a reset counter button which deletes all tasks and resets the counter to 0/0.


Learnings & Hurdles

Building this project was definitely harder than I expected, but I managed to finish it and make it how I envisioned it:

  • Tkinter: I used the Tkinter library to create the GUI. It was my first time using it, and this project helped me grasp the basics.

  • Debugging: No matter how good a coder you are, chances are your code won't run on the 1st try. I got multiple errors when I tested my application, from syntax to forgetting to import some libraries. This is why learning to debug your code is such a valuable skill. 

  • Using resources: I didn't know how to use TKinter at the start, don't get me wrong, I'm no expert at it, but I can say that I have improved since starting my project. I am a firm believer in utilizing the resources you have to their fullest potential. Including AI, of course, this doesn't mean copying code, but AI really does help to explain code in a very simple way, especially if you use one of my favorite prompts, "Explain it to me as if I'm a 5-year-old". My general rule is, don't use code you don't understand.


How it Works (A Peek Under the Hood)

My to-do list is fairly straightforward, but it uses some essential programming concepts. Here's a quick rundown of its core functionalities. You can see the full 181 lines of code on my GitHub:

  • Adding Tasks: Users can input a new task using a button, and that task then gets stored. 
  • Viewing Tasks: The application displays all current tasks on a scrollable list and shows them again even if you re-open the app.

  • Saving to a file: If you make a task, close the app, reopen it, that same task will load up again. I managed to do this by saving the tasks to a .txt file.


What's Next?

This to-do list is my 1st ever completed project. Sure, it's not perfect, but it's mine and I'm happy the way it is. I might not be able to do a lot of stuff as I want to because I got family coming over.. but I will always update I am never abandoning coding or blogging my journey on here. Some of other projects I might make next are but not limited to:

  • Journaling app: A simple journaling app where you can write anything you want/feel which then gets saved locally so you can always reopen it.

  • Automate something: I don't know what exactly but i would like to automate something in a way that saves me time as i like not just building project for the hell of it which of course i enjoy but i want to make projects that have an impact on my or other people's lives.

  • Budget app: I would like to make an app where you can put in what you bought and how much to keep track of it i would also like to put a feature where  you input your subscriptions and it tells you how much all of your subscriptions cost yearly. 

Final Thoughts:

Thank you for sticking around and reading this blog. It feels nice to finally wrap up something i started. Making something that was nothing more than just an idea in my head to an actual technical real thing feels amazing. And sure i have hit some roadblocks on the way but those have thought me valuable lessons (always check your spelling XD) and I'm sure i will hit many more and i am looking forward for those "teaching moments". Thank you all and remember progress isn't linear or fast as long as your trying I'm sure you will make it.

Comments

Popular posts from this blog

My own Journaling App

My First Python Project: Building a To-Do List from Scratch!