I fully understand the proof. However, at this stage:
$a^2 = 3b^2$
I understand that both cannot be even since they don't have common factors, but why does that lead to them both being odd? What it one was odd and one was even? Is there a proof that is not like that? Thank you.
If one of them is odd, the other is too:
In either case, both $a$ and $b$ are odd.