Have popup window
jQuery(document).ready(function($){ $('.call_popup').click(function(){ $('.popup').toggleClass('open'); }); $('.popup_header i').click(function(){ $('.popup').removeClass('open'); }) }); There are styles connected to it.
.popup { display:none; width: 250px; height: 250px; padding: 25px; box-shadow: 0 0px 200px 0 rgba(32,19,45,0.90); position: absolute; top: calc(50%-125px); left: calc(50%-125px); } .popup.open { display: block; } .popup_header { position: relative; } .popup_header i { position: absolute; top: 5px; right: 5px; } I can not understand why it does not work?
console.log("click");to click handlersconsole.log("click");. Does anything appear in the console? - Igor