I'm currently facing an issue with my code. I am attempting to invoke my openPop() function with the input parameter 'pop' within some of my sensor code, but no pop-up is appearing even though I believe I am calling the popup correctly. If anyone can provide assistance, I would greatly appreciate it. Here is the snippet of my code:
// code snippet goes here
Due to space constraints, I am unable to include all my code here. You can access my complete code on my Codepen profile: Codepen Link