Define $g:[0,1]\rightarrow\mathbb R$ by $g(x)=\sqrt{x}$ if $x$ is rational and $g(x)=0$ if x is irrational.
Prove that $g$ is continuous at $x=0$, but is not continuous at any other value of $x$.
I am really at a loss of where to even start my proof. I know that in order for $g$ to be continuous as any point (let's say point $p$) then for every $\varepsilon>0$ where $E\subset X$ there exists a $\delta>0$ such that $d_Y(g(x),g(p))<\varepsilon$ for all points $x\in E$ for which $d_X(x,p)<\delta$
I'm having trouble applying this definition.