For a compact Hausdorff space $S$, show that the following are equivalent:
(a) $S$ is metrizable.
(b) $S$ has a countable base.
(c) $C(S)$ is separable, where $C(S)$ denotes the space of all continuous functions on $S$.
(a)$\implies$(b) This is trivial. For every $N\in\mathbb Z_{>0}$, take the finite $1/N$-net of $S$ since $S$ is metrizable and compact. Then for each $1/N$-net, we take the countable balls with diameter $1/M$ where $M$ ranges over $\mathbb Z_{>0}$. And we take $N$ to infinite. Thus (a) implies (b).
(b)$\implies$(c) This is again trivial. Since compactness together with Hausdorff implies normal, then we can easily construct a countable dense set of $C(S)$ by invoking Tietze extension theorem.
(c)$\implies (a)$ Suppose $\{f_n\}_{n=1}^\infty$ is a dense subset of $C(S)$ and we construct a metric: $$ d(x,y):=\sum_{n=1}^\infty 2^{-n}\min\{|f_n(x)-f_n(y)|,1\}. $$ How to show that the topology of $S$ is induced by this metric?