Suppose that $f$ is analytic in a domain $G$ in the complex plane and not constant. Let $D$ be a disc whose closure is contained in $G$,$|f|$ constant on $\partial D$, I need to show that it has atleast one $0$ inside $D$.
Suppose it has no zero inside $D$, then I consider $\frac{1}{f}$ which is analytic and non vanishing inside $D$ and must attain its minima on $\partial D$, minima of $1\over f$ is maxima of $f$ that is also attained on $\partial D$, so minima and maxima of $f$ are attained on $\partial D$, but does that create any contradiction? am I in the right path?