Example (algebraic infinite extension)
Consider $K = \Q$ and $L = \bigcup_{i=1}^{\infty} \Q(2^{1/2^n}) \subseteq \R$.
$L$ is a nested union of fields so a field. Every $α\in L$ belongs to some $\Q(2^{1/2^n})$ so is algebraic.
But $[L:K] \geq [\Q(2^{1/2^n}): \Q] = 2^n$ for all $n$ so $[L:K] = \infty$.