The proof goes as follows:
Let $A$, $B$ be basis for $F$. For a fixed prime $p$, it is easy to see that the quotient group $F/pF$ is a vector space over $\Bbb Z /p \Bbb Z$ and that the cosets $\{a + pF: a \in A\}$ form a basis. And $\dim F/pF =\text{card } A = \text{card } B$.
I don't see how $F/pF$ is a vector space over $\Bbb Z / p\Bbb Z$. I understand that $\Bbb Z / p \Bbb Z = \{ c + p \Bbb Z : c \in \Bbb Z\}$, where $p \Bbb Z = \{ p*z : z \in \Bbb Z\}$ (multiplication operation), but how is $pF$ defined since $F/pF = \{ h + pF: h \in F\}$ and free abelian groups are defined in terms of addition?
The sum in $\;V_p:=F/pF\;:\;\;\left[u+(pF)\right](+)\left[v+(pF)\right]:=(u+v) +(pF)\;$
Multiplication of element by scalar $\;t\in\Bbb F_p\;:\;\;t\cdot\left[u+(pF)\right]:=(tu)+(pF)\;$
The above makes sense since $\;p\left[u+(pF)\right]=(pu)+(pF)=pF=\overline 0\;\text{ in}\;\;V_p$ .
In the above, $\;u+v\;$ and etc. means the usual sum of elements in the free abelian group $\;F\;$
You can change the above to multiplicative notation if you want (that is what I did first but I changed it right away to additive notation since I think it is more used this way...)