Alert box not working

Alert box not working

Hi,

I have a simple JS file, and only 1 text box, if the text value is PIN, show an alert. Can someone please point where I am wrong?  https://jsfiddle.net/fymno1ea/1/