I made a popup feature, which shows the phone number of a user. I was able to apply this feature to one instance. A single user.
Normally, each user has a unique phone number.
But then, I thought, what if I have lots of users as they come, to my site? How can I automatically apply the same popup feature without writing the same lines of code I wrote for the single user, over and over again?
Please, help me out.
View code here: https://codepen.io/matthewdon/pen/MWQEvJM