Questions & Answers about W twoim pokoju nie ma porządku.
Why is it twoim pokoju instead of twój pokój?
The preposition w (meaning "in" or "inside") requires the Locative case. Because of this, the basic phrase twój pokój (your room) changes its endings to match, becoming w twoim pokoju.
Why does the word pokój (room) change to pokoju with an 'o' instead of an 'ó'?
In Polish, the vowel ó in the basic form of a word often shifts back to a regular o when you add grammatical endings. So, pokój becomes pokoju in the Locative case. You will see this same vowel shift in many common words, like stół (table) becoming na stole (on the table).
Why do we use porządku here instead of the dictionary form porządek?
The phrase nie ma (there is not / there is no) is negative, and in Polish, negated verbs generally force the following noun into the Genitive case. Since porządek (order/tidiness) is a masculine inanimate noun, it takes the -u ending, becoming porządku. Also, notice that the e in porządek drops out completely when the ending is added—this is a very common pattern called a "fleeting e".
Is the word porządku here related to the common phrase w porządku (okay/fine)?
Yes, exactly! The noun porządek literally means "order" or "tidiness". When you say that something is w porządku (okay/fine), you are literally saying it is "in order". In this sentence, it is just being used in its literal sense: there is no physical order or tidiness in the room.