Creating Multiple Modals on a Single Page
You assigned the same Id to both modal triggering buttons. Different elements shouldn’t have the same Id. In you JavaScript code, you always pick a single element (a single close button, a single open button, etc). It’s a HTML/JS beginner’s mistake I would say. This would work: