Close Callout Message Jquery

I am using Django and Foundations together which allows me to create “messages” with the callouts.

how can I make the message close after a few seconds?

and I would like to close the different messages at different times. not just all at once.

I am sure this is one of those jquery things that make me pull my hair out.

Thanks so much.

Please do not crosspost.

Closing as duplicate of https://stackoverflow.com/questions/62303907/close-callout-message-in-zurb-foundation-after-a-period-of-time-with-jquery