Breakdown of Tack för maten! Det var gott.
vara
to be
det
it (neuter)
god
good (of food and taste) / good (of qualities, habits)
tack för maten
thank you for the meal
Elon.io is an online learning platform
We have an entire course teaching Swedish grammar and vocabulary.