Jimmy needed to learn to code for his job.
After a long time, he learned to code properly.
Jimmy researched and studied online on how to code.
jimmy researched and studied online how to be a photographer.