Consider the subset of $\mathbb{R}^2$: $$T=\{(x,y):x\notin \mathbb{Q} \text{ or } y \notin \mathbb{Q}\}$$
Is $T$ open, closed, compact, connected (under the standard Euclidean topology)?
First, $cl(T)=\mathbb{R}^2$ and hence $T$ is not closed.
Then since $\mathbb{Q}$ is dense in $\mathbb{R}$, it's not possible to find an open neighborhood $U$ of $(x,y)\in T$ such that $U\subset T$. Hence $T$ is not open.
Consider the open cover $\{B(x,1)\cap T: x\notin \mathbb{Q}\}$, which is the union of open balls centered at irrational $x$ with radius $1$. Then $T$ is not compact.
Is $T$ connected? $T$ is the $xy-$plane after deleting all rational points. Hence I think $T$ is more than connected: $T$ is path-connected.