I wrote I eat chocolate dayly (March 2018) and they accepted it but I wrote I eat pasta daily and they didn't accepted it. I mentioned they should accept my answer.
A chocolate is not correct. You can say a piece of chocolate or a chocolate bar, but not a chocolate. It cannot be counted. Like "snow" or "sugar".
a chocolate implies one piece of chocolate while saying just chocolate implies more than one.