Why does not hide the dialogue?

There is the following code: https://codepen.io/anon/pen/mgNvLo

When you click on the button "click" appears a window which has the back button, but the script to close the form is not working. Tell me what the problem is.

PS could you suggest how to make the closing forms occurred not only when clicking on the back button but the clip on the out-of-shape?
March 20th 20 at 11:35
1 answer
March 20th 20 at 11:37
Typo onlick -> onclick
... or try to lick the button
What is the lick button? =) - Lillian.Schuppe79 commented on March 20th 20 at 11:40
@liza, Also interesting) - Jennifer_Kovacek16 commented on March 20th 20 at 11:43

Find more questions by tags JavaScript