Don’t worry about it. That’s how you learn. Also, you know, nobody really writes 100% clean code (and a lot of times it’s not even worth it if you know you won’t maintain that piece of code), so why worry about it?
If it makes you more relaxed about it, know that I have stupider stuff on my GitHub.
For example, a few weeks ago I decided to design some furniture and it’s on my GitHub : https://github.com/dapetcu21/scad-experiments
There’s also this thing: https://github.com/dapetcu21/shaorma
And this thing (jeg means filth in Romanian): https://github.com/dapetcu21/jeg
And some other stuff I won’t link to, though it’s public.