You are browsing as a guest. Sign up (or log in) to start making projects!

1h 24m 42s logged

Devlog #4: Achievements Page!!

Heyyy there! Since the last devlog, I’ve been working on making the achievements page and stats page actually work, instead of just looking cool and aesthetic.

First of all, I worked on the achievements system! I used ChatGPT to write 8 different achievements, that the user unlocks based on how much time they’ve spent reading, how many reading sessions they’ve completed, and how many of the seven books you’ve marked as read. For example, you can unlock achievements for completing your first reading session, reading for one hour, or completing all the 7 books.

I also added a reading streak feature, which tracks how many days in a row the user has logged at least one reading session. I think this would be a really nice way to encourage myself to read more every day instead of just doomscrolling on my phone, kinda like duolingo!

Along the way, I fixed some JavaScript bugs with the help of AI and connected everything with localStorage, so the website can keep track of your progress even if you close the tab, or even the whole app, and come back later.

There’s still some testing to do to make sure everything works as intended, and I also still need to add the “Books” and “Settings” pages, but I think it’s turning into something that I, and I hope also other HP fans would use, and not just a Harry Potter themed website with a nice design.

That’s it for this now! Hopefully, I’ll have even more to show you next time. See you in the next devlog!

0
22

Comments 0

No comments yet. Be the first!