The only open set containing \(2\) is \(X\), so preimages of open sets are \([0,1)\), \(\varnothing\) or \([0,1]\), all open. Likewise \(3\) is joined to \(2\).
A space \(X\) is path-connected if every pair of points \(a,b\in X\) is joined by a path: a continuous function \(\gamma:[0,1]\to X\) with \(\gamma(0)=a\) and \(\gamma(1)=b\).