$f,g$ are continuous on closed unit disk but analytic on open unit disk and $f(z)=g(z)$ on $|z|=1$, we need to show $f\equiv g$
so $h(z)=f(z)-g(z)$ has zero set $S^1$ which is analytic on open unit disk $D$ and continous on compact unit disk so has maximum attained at boundary which is $0$ so $\max|h(z)|=0$ so $h(z)\equiv 0\Rightarrow f(z)\equiv g(z)$ on compact unit disk. am I right?