Suppose that $A\subset X$ and suppose that $f : A \to Y$ is a continuous function with $Y$ Hausdorff. Show that there is at most one continuous function $g : \bar{A} \to Y$.
My try: Suppose there are two extension $g$ and $h$, then for some $a\in \overline{A}-A$, we have $g(a)\neq h(a)$. As $Y$ is Hausdorff, there are two disjoint open set $U_{g(a)}$ and $U_{h(a)}$ such that $g(a) \in U_{g(a)}$ and $h(a) \in U_{h(a)}$. Now I have feeling somehow from here I have to construct open set $U$ of $a$ which does not intersect $A$. But I am not able to do this. Can someone please help me.