Nouns ending in -tion are feminine.
The suffix forms abstract nouns of action or state.
J'avais l'intention de finir le travail.
I intended to have finished the work.
Quand as-tu l'intention d'arrêter de fumer ?
When do you intend to quit smoking?
J'ai cueilli une pâquerette à son intention.
I plucked a daisy for her.
FrenchTextbook teaches rules like this, in a full beginner course.
162 lessons, 4,000+ exercises, and 6+ hours of audio.
Try the first lesson free