I’m building a social platform where users unlock new features for completing certain events.
When a feature is unlocked, a highlight appears next to the new content.

Would love to know how to make the highlight not visible after 7 days.
Would appreciate any insights.
Capture the current date +7 (dateCaptured) when the user completes the certain event.
Then set a condition on the highlight for when current date > (dateCaptured) , highlight not visible.
system
Closed
4
This topic was automatically closed after 70 days. New replies are no longer allowed.