I need you guys to to point me into a direction where I can learn how to accomplish the following:
I have a div on my website that can be closed ( hidden ) by the user when clicking a “X” icon. I want my website to remember that option for the next 3 sessions that the user joins my website, so it won’t show that div. The 4th time the user enters the website, the div will be showing again ( flexbox). What should I learn in order to achieve that?
I have another div that shows up (flexbox) after 10 seconds spent on the homepage. It’s a signup to the newsletter box. The user can either sign up or just close that div and go back to navigate in the website. Is there a way to make my website remember when the user signs up to the newsletter, so it won’t show that div again?
I currently am not allowed to share the preview of the website, but I think I explained enough.
Thank you so much for your help.