Quote:Googled and tried to use many codes and ended up confusing myself.
Advice to beginner, don't try to learn by searching 'random' code.
You need to find some tutorials and follow them to learn something.
There is no magic easy way to learn programming.
Advice: Put your project on hold while you follow the tutorials.