Is there a way to have a modal set off by an if statement in JS? I don\'t want a button on the webpage.
Right now I\'m trying to get it by using:
const cha