[Solved] JS – If Statements October 30, 2022 by Kirat you are missing type in event, check for type event.type; 2 solved JS – If Statements