After a der article
When the article already shows gender and case, the adjective usually takes the weak ending -e or -en.
English adjectives never change: a good man, good children. In German the ending depends on the article, gender, number and case: der gute Mann, ein gutes Kind, mit einer neuen Tasche.
Not just examples, but what to notice in them.
When the article already shows gender and case, the adjective usually takes the weak ending -e or -en.
When the article does not fully show the gender, part of that information moves to the adjective ending.
The adjective takes over more of the grammatical information.
After dem, der, einem, einer and in the plural, the adjective normally takes -en.
The places where the rule most often goes wrong in a real sentence.
The ending does not belong to the adjective itself but to the whole group: article + gender + case + number. Leaving it off, as English does, is not an option before a noun.
After ein the adjective often shows what a der article would have shown itself.
ein gute Mann
ein guter Mann
Phrases like mit dem guten Freund and in einer kleinen Wohnung come up all the time.
Look beyond the translation to the grammatical choice made inside the sentence.
Ich kaufe einen neuen Computer.
I'm buying a new computer.
kaufen takes Akkusativ; der Computer -> einen Computer, and the adjective takes -en.
Das ist ein gutes Buch.
That is a good book.
ein does not fully show the neuter, so gutes.
Wir wohnen in einer kleinen Stadt.
We live in a small town.
in answers "where?" here, so Dativ: einer kleinen Stadt.
Guter Kaffee ist wichtig.
Good coffee is important.
There is no article, so guter shows masculine Nominativ.
More examples: the same rule in familiar words and short sentences.
A rule sticks once you use it on real words. In Wortkessel you can learn and review them: five exercises, audio and spaced repetition.