I used to code in a very messy fashion and I still do sometimes, but I have some tips I can share with you so you can become a better, more organized programmer.
1. Organize your bookmark bar
If you take a look at my bookmark bar, I have a lot of folders there and I can keep my sites organized. It will take a bit of time to organize all your sites and still a bit more to get used to, but it's amazing.
2. Organize your CSS
If you saw what was happening in the GIF above, I organized my CSS into Tags/setup, Classes, IDs, Animations, Media Queries and additional styling. Each subject is separated with a comment banner for easier access.
3. Use comment banners in your code
Use big comment banners in your code to separate different sections. Whether in Javascript, Python, CSS, HTML, etc, this will help you so much when trying to search through messy code.
Like this? You can subscribe to me at my website
Thanks for reading.
Happy Coding.
Discussion (3)
Nice short article.
I add the link to my article about how to write a better and more organized CSS.
How to write CSS like a pro 🚀
DevLorenzo ・ Feb 10 ・ 4 min read
PS: Gifs are broken
Huh, I don't know what happened to the GIFS. Every time I try to add one, it fails.
Add it [ placeholder ] ( link- closing the braces
Or just copy-paste from internet (dev.to format it for you)