Apologies if this question seems trivial, but I am completely new to coding in HTML and JavaScript.
I understand that I can make some changes based on scroll position, but right now I'm a little confused. I want to increase the height of a box as the user scrolls down.
It currently starts with
"height: 60px;"
and then I would like it to grow proportionally like "height = 60 + scrollY * a very small number + px".
Is there a way to accomplish this?
Many thanks and best regards!