This is the 186th most frequent Croatian word.
ali
"Ali" in Croatian means "but" in English.
The word 'ali' is used here to introduce a contrast or opposition between wanting to go and the fact that it's raining.
Želim ići na izlet, ali pada kiša.
I want to go on a trip, but it's raining.
In this sentence, 'ali' contrasts the effort to answer with the lack of knowledge of the correct answer.
Pokušao je odgovoriti na pitanje, ali nije znao točan odgovor.
He tried to answer the question, but he didn't know the correct answer.
Here, 'ali' highlights the contradiction between the desire to stay and the obligation to wake up early.