https://codepen.io/TuscannyCodes/pen/wvgPXJb
I built this simple Tarot card app. Its something that Ive been wanting to make since I first started learning how to script and code so im SUPER happy that ive gotten to the point where I can code something like this on my own.
I basically just wrote everything out and literally threw it all together in the editor in a way that would get everything to work . Im still learning so at the time, I wasn’t thinking about how neat everything was or anything. I just used comments to help myself make sense of it all.
I know that in the future, I’ll be building things with cleanliness in mind, but for this project I was just exited to get it functional.
Ive love any ideas how I can begin refactoring the code so that it looks neat and also is DRY. I haven’t refactored code before, so I guess this would be a good time for me to start learning. Any advise and guidance will be greatly appreciated
ALSO,
If anyone has ideas on how I could make the functionality or layout of the app better or more fun to use I will welcome that type of advise as well. Basically any and all ideas are welcome.
Thank you all. I really appreciate it