Breakdown of Det er et populært sted som har god mat.
være
to be
god
good
det
it, that / there (in 'there is/are')
ha
to have
Questions & Answers about Det er et populært sted som har god mat.
How does som work in som har god mat, and can it be left out?
Som is the word Norwegian uses for that, which, and who when connecting a description to a noun. It stays the same whether it refers to a person, a thing, or a place like et sted. Here, som is the subject of the verb har (that has good food). When som is the subject of its clause, it must be included in the sentence — just as in English, where you cannot drop that in It is a popular place that has good food.
Why does populært end in -t, while god does not?
Adjectives change their ending to match the noun they describe. Sted (place) is a neuter noun (et sted), so the adjective populær adds -t in the indefinite singular: et populært sted. Mat (food), on the other hand, is a masculine uncountable noun (maten), so the adjective god stays in its base form without -t: god mat.
Since et sted is a place, why do we use som instead of a word meaning where?
Because in this sentence, the place is the subject of the verb har — it is a place that has good food, rather than a place where something happens. Whenever the place itself is the subject of the following verb, Norwegian uses som.