toggle button

First, create the button, with its onclick handler toggleCoronaData.

Then implement toggleCoronaData.

If its closed, we animate the shifting of the div height, or whatever attribute you want to move.

If its open, we animate the opposite way.