Proof (composition of continuous functions is continuous)
Suppose $(z_n)$ is any sequence of points in $A$ and $z_n \to a$. By the continuity of $f$ at $a$, $f(z_n) \to f(a)$, and by the continuity of $g$ at $f(a)$, $g\big(f(z_n)\big) \to g\big(f(a)\big)$.