I have a table for users Badges and Achievements. The default value for a Badge is written as locked in the field value for each badge. Then when the user unlocks the badge the field value is updated to unlocked. How could I alert the user with a popup message that alerts them that they have just unlocked a new achievement based on the value change?
Share
This might have to do with Javascript, and the onclick(alert(‘unlocked’)) or something along those lines.