[jQuery] Help Me Optimize My First JQuery Script (Extinguish The Early Flames of Bad Practices)

[jQuery] Help Me Optimize My First JQuery Script (Extinguish The Early Flames of Bad Practices)


Hello,
I'm just starting to delve into JQuery, and I'd like to extinguish as
many bad practices as possible.
I wrote my first script from scratch a few days ago, and here is an
outline of what I wanted the script to do: