I previously had a website built with pure JS and HTML, but decided to transfer it to WordPress. Everything was functioning properly until a few days ago when two of my functions suddenly stopped working. Both functions are supposed to add an "active" class - the first one triggers a modal function and the second one is for tab functionality. It was working perfectly fine before, but now I suspect that it may be due to a WordPress update. The page where the functions are not working is: - specifically the second "slide", which is a projector with dots on it that should trigger the modal.
I have a fully functional version of the website here: . This is how it should be working, and it was working fine until it suddenly stopped. Does anyone know why adding the "active" class has become an issue, or what the problem might be? Thank you so much for your help!
Here is an image showing the broken part: https://i.sstatic.net/haooy.jpg