Questions & Answers about Det tar tid att skapa en ny vana, men hon ger inte upp.
In this sentence, det is a dummy subject (also called an expletive). It does not refer to any specific thing; it is just there to fill the subject position, just like it in English It takes time to create a new habit.
You could also say:
- Att skapa en ny vana tar tid. – Creating a new habit takes time.
Here, att skapa en ny vana is the subject. Both versions are correct; Det tar tid att … is very common and sounds natural in everyday speech and writing.
Here att is the infinitive marker, like to in English to create.
- skapa = create (bare infinitive)
- att skapa = to create
You use att before an infinitive unless:
There is a modal verb like kan, vill, måste, ska directly before it:
- Hon vill skapa en ny vana. – She wants to create a new habit.
(no att)
- Hon vill skapa en ny vana. – She wants to create a new habit.
There is a small group of other verbs that usually skip att (e.g. låta, se, höra in certain constructions).
But after tar tid, you keep att:
- Det tar tid att skapa … – It takes time to create …