I have been reading the solution of the following question:
We can regard $\pi_1(X, x_0)$ as the set of basepoint-preserving homotopy classes of maps $(S^1,s_0) \to (X, x_0).$ Let $[S^1, X]$ be the set of homotopy classes of maps $S^1\to X,$ with no conditions on basepoints. Thus there is a natural map $\Phi: \pi_1(X, x_0) \to [S^1, X]$ obtained by ignoring basepoints. Show that $(a)$ $\Phi$ is onto if $X$ is path-connected,\ $(b)$ Show that $\Phi([f]) = \Phi([g])$ iff $[f]$ and $[g]$ are conjugate in $\pi_1(X, x_0).$
Here: Why is $\phi$ onto if $X$ is path connected in Hatcher's exercise 1.1.6?
I am not quite sure where exactly is the proof of onto in this solution, could someone clarify this to me please?(I want a proof without using Homotopy extension property please if possible)