Can somebody explain me why the following set in neither open nor closed.
$$ B:=\{ (x,y)\in \mathbb Q^2: 1\le x,y\le 10 \}$$
My thoughts:- If I can find an $\epsilon$ neighborhood that belongs to the set at every point in the set then it is open. If the complement set of the set is open then the set is closed.