Need help with Code

The code was working then randomly stopped working. Wondering why when clients put the list of ingredients in it is not telling them what is acne safe and not.