If $A$ is everywhere dense in the metric space $M$, then the only closed set which contains $A$ is $M$.
My attempt: Let $B$ be a closed set which contains $A$.
My aim: Prove $B=M$
Since $A$ is everywhere dense in $M$, $\bar{A}=M$. By the theorem 'Closure of a subset $A$ of a metric space $M$ is the intersection of all closed set containing $A$, $M=\bar{A} \subset B$
Regarding the direction $B \subset M=\bar{A}$, I have no idea how to prove a point is in a closure set. Can anyone give some hints?
EDIT: let $b\in B$. Since $B$ is a closed set, for all $\epsilon > 0$, there exists a neighbourhood $N(b,\frac{\epsilon}{2})$ such that it contains a point of $B$ distinct from $b$.
Let $a \in A$. Since $A \subset B$, for all $\epsilon > 0$, there exists a neighbourhood $N(a,\frac{\epsilon}{2})$ such that it contains a point of $B$ distinct from $a$.
Let $x$ be an intersection element between the two neighbourhood. Then $|a-b| \leq |a-x|+|x-b|<\frac{\epsilon}{2}+\frac{\epsilon}{2}=\epsilon$,which implies that $b \in N(a,\epsilon)$, that means $b \in \bar{A}$.
Is my proof correct?