das Fähnchen
small flag
A small flag, often made of paper or fabric, used for waving, decorating, or marking something.
Die Kinder schwenkten beim Umzug bunte Fähnchen.
The children waved colorful little flags during the parade.

small flag
Loading your saved state.
small flag
A small flag, often made of paper or fabric, used for waving, decorating, or marking something.
Die Kinder schwenkten beim Umzug bunte Fähnchen.
The children waved colorful little flags during the parade.

'Das Fähnchen' (small flag) is the diminutive form of 'die Fahne' (flag). The ending '-chen' makes the word neuter ('das') and adds an umlaut to the vowel 'a' (ä).
Auf der Torte steckte ein kleines Fähnchen mit einer Zahl.
There was a little flag with a number stuck in the cake.
You can do various things with a 'Fähnchen' (small flag). Typical verbs are 'schwenken' (to wave), 'schwingen' (to swing), or 'in den Sand stecken' (to stick into the sand).
Die Fans schwenkten begeistert ihre Fähnchen.
The fans enthusiastically waved their little flags.
The idiom 'sein Fähnchen nach dem Wind hängen' means that someone quickly changes their opinion in order to gain advantages. The person is therefore opportunistic and not guided by principles.
Auf seine Meinung kann man sich nicht verlassen, er hängt sein Fähnchen nach dem Wind.
You can't rely on his opinion; he always goes whichever way the wind blows.
In the idiom 'sein Fähnchen nach dem Wind hängen', the possessive pronoun ('sein', 'ihr', 'mein', etc.) must be adapted to the person you are talking about.
Sie ist in der Politik sehr flexibel und hängt ihr Fähnchen immer nach dem Wind.
She is very flexible in politics and always goes whichever way the wind blows.
flag
'Flagge' and 'Fähnchen' both refer to a piece of cloth or paper with colors or signs. 'Flagge' usually means a larger and more official symbol, for example for a country, city, or organization, often on a pole. 'Fähnchen' is the small form and is more suitable for waving, decorating, or marking something. The words can be confused because both look like a flag. If it is official or large, 'Flagge' fits; if it is small and decorative, 'Fähnchen' fits.

Mara steckt ein kleines Fähnchen in den Kuchen.
Mara sticks a small flag into the cake.
Vor dem Rathaus hängt die Flagge der Stadt.
The city's flag is hanging in front of the town hall.