New course! Every coder should learn Generative AI!
Try a free lesson+ 1
I don't know what functions or what specifica you mean in your code, but here is a tutorial you may find helpful.
https://www.electrictoolbox.com/hide-element-initially-css-show-later-jquery/