Make a G, then let go, do that about 20 times in a row.
Lets make the G again, but this time feel with your whole hand, how it feels, were does the back of the neck, touch the palm of your hand, how much bend is in your wrist and where is your thumb at, when you make the chord with no buzzing. See (look at) all these things, rember them as you make and release the G chord 20 mores times.
Now close your eyes and keep them that way. Sarting making and releasing the G chord again. The strings on the neck and the shape never changes, so you do not need to look (see) the neck to find the chord.
More than just your fingers need to build muscle memory, the shape and angle of the of your hand while you make that chord aslo needs remembered. Closing your eyes and still being able to make chords will speed up many parts of every thing you learn from here on.
Next do the same with C then D. When you feel you have each chord down, then start switching G, C, D. Now E and A and C.
I saved F as it can be a problem chord for most people, now that you feel good about your self and your learning take it on. F, G then E.
Good luck invest the time, get on stage and blow the crowd away.