What personally helped me to learn to cook (and I learned it pretty late, in my opinion), was by first failing several times before doing it right (still following the 'book' or the 'website'). After a while, I started doing things on my own, figuring what would go well with what. And I wouldn't try it on the whole meal, but just a small part. If that makes sense.
If it tasted good, I would try to do it more on the whole meal, if that went well, I would try to do something new to the next part in that same meal (after a week if I would do the same meal again).
Basically, the basics I've been taught is:
-You always, always cook chicken through entirely. So you can have like medium rare in beef and such, right? Not with chicken. Never do that with chicken.
-Try to learn a variety of ways to chop or cut various vegetables. Mostly in order to create less of a mess, as well as being able to do it as fast as possible (but safely).
-When boiling water, or using a pan to fry -for example- meat, always put in a bit of salt in the water or on the meat (e.g. when making spaghetti, you need to boil water, right? Always try to add salt in the water. Salt helps the food taste less faint-y.)
Those are the basics, in my experience. Learning how to make spices, sauces, etc. are all things that come afterwards. To increase your food experience, so to speak. Once you've got some of the basics, you can start to experiment.
Heck, you can even try to see if you make a fancy meal salad, you don't necessarily have to cook/oil anything. Just get yourself a couple of vegetables and other ingredients. What are some of the kind of food you're interested in making or refining?
Perhaps I (or others) could always give some tips ;D