I am trying to prove that subset of $C[0,1]$ given as $\{h\in C[0,1]:||h||\leq 1\}$ in supremum metric is not compact. As I know, in that set lays sequence $g_n(x)=x^n$ which converges to non-continuous function (0 everywhere else despite 1). And I came up after some research that this implies that such a subset of $C[0,1]$ can't be compact, be I couldn't find out why. Maybe it's simple but I don't see that. So... I will be really grateful if someone could explain that. Or show other, simple way to prove that statement.
Thank you in advance!
In any metric space, every compact set is closed (see for example the first answer of A compact set, which is not closed.). So if your subset doesn't contain all its limits, it is not closed and therefore cannot be compact.