Building a simple Modal Pop Up

https://codepen.io/codeispoetry/pen/KKPVgKM

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.