In the following theorm, I do not know why $K^\perp = 0$

I just accept that $x = 0$ on $K^\perp$. For instance, $x = h\otimes h$ for $h\in H_{\|.\|=1}$ is a compact operator. Extend $\{h\}$ to a basis $\{e_i\}\cup \{h\}$ for $H$, we have $K^\perp = \bar{span} \{e_i\}$, and $x_{|_{K^\perp}} = 0$ while $K^\perp \neq 0$. Where is my mistake in this example and why $K^{\perp}=0$?
Please regard me. Thanks in advance.