German grammar
Nicht vs Kein
Use kein to negate a noun and nicht to negate actions, adjectives, or whole ideas.
Examples
Ich habe keinen Kaffee.
I do not have any coffee.
kein negates a noun.
Das ist nicht gut.
That is not good.
nicht negates an adjective.
Wir gehen heute nicht.
We are not going today.
nicht negates the action.
Common mistake
Using nicht for every negative sentence misses the noun-negation role of kein.