Cant figure out why my modal isnt displaying

Viewed 14

I am currently working on a personal portfolio site and i'm not sure why my modal is not displaying. When you click on view more , it should display: example

however, nothing happens. I have it appearing here in this pic by commenting out the opacity and visibility on lines 645 & 646 on my css.
This is the code on Codepen

The code for this basically starts in the Services section at

html line: 648

css : 592

js: 65

I dont get an errors in my console which throws me off.

Any suggestions would be great. Thank you.

ps, this is being done in mobile view first, so i suggest adjusting the codepen screen to a smaller size.

1 Answers

You are adding class - 'active-modal' by js and in css classname is 'active_modal'

Class name is not matching. Kindly correct it. It will work as expected.

Related