How do I call an event only once per session?

  • 0
    That is, until a person leaves the site and comes back in, do not call it, but if he moves inside it, then call it only once and not show a new one on each page?
    JavaScript Scarlet Boyd, Nov 30, 2020

  • 1 Answers
  • 0
    Use sessionStorage
    Amelia Cisneros

Your Answer
To place the code, please use CodePen or similar tool. Thanks you!