Building a simple Modal Pop Up

I am trying to build a simple Modal Pop up, but I am at a point where I was expecting that console should have click on clicking the button, but that is not happening.

My browser console shows that you have a syntax error, on the addEventListener line.

1 Like

Yes, this was deleted by mistake → {

Now it is working.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.