Hello everyone ! I’m new here, but currently working on the weather app
So, I finished the Random Quote Machine yesterday, and thought I would add some interactions with a bunch of jQuery animations on the click of the button that fetches the next quote from the API.
My problem is, most of the time (especially on longer quotes), the jQuery animation feels very unnatural, I’m guessing because the initial height of my text-containing div is 0, and jumps right away to whatever height the text is.
It’s the kind of thing that drives me nuts, so I’d appareciate it a lot if anyone could give me some insight about this issue.
Here is the codepen.
Thanks in advance !