1. There is a requirement to write a dynamic display container, which is displayed every five seconds, and then closed in three seconds. And then it goes on and on.
my idea is to write a setInterval
that can be displayed every five seconds, but the display is turned off in three seconds. How to write this requirement? ask experienced friends to share their ideas