I tried to make up a sentence of the following meaning:
You have a strange habit to enter the room without knocking on the door.
and I ended up with such one (with some help of google translate):
Tu as une étrange habitude d'entrer dans une chambre sans frapper à la porte.
And my question is: do you usually put any adjective (I do not mean the adjectives that are normally placed before the noun i.e. beau, grande etc.) before noun in such complex sentences where we have a compound phrase (here: une habitude d'entrer dans une chambre)? Is there any rule on this or this is just the matter of intuition?