Modal Issue

Hey I've been searching for some easy tutorial about pop up modal and I made this simple Pop up modal. Basically I follow it from the yt I've saw. and now running the problem that it is not working. IDK why. a help would be appreciated from u guys. https://codepen.io/pen?template=WNgeMZJ
CodePen
...
2 Replies
Mannix
Mannix•2y ago
modalBg.classList.add('bg-active'); not modalBg.classList.add('.bg-active'); 🙂
sebin
sebin•2y ago
another . problem THANKYOU XDDDD
Want results from more Discord servers?
Add your server