So I have this form set up inside the modal window. After you fill in the form and success message appears I would like to fade out modal window with 5 second delay.
I added the
.success class to success message and this code before /body:
But all it does it closes modal window 5 seconds after I open it (doesn't wait for the success message to appear).
Ofcourse the website link http://flittigbi.webflow.com/
and troubleshooting link https://webflow.com/design/flittigbi?preview=43c64b32ebdfcbba24aaee5fa082d8e9