Here is a website called codecademy. It's safe, widely known and used, and by "widely" I mean 25 million+ users. It offers tutorials on all the big languages as well as APIs and other things. It's completely free, other than some things that are locked behind a "pro" account, however those things are completely optional and none of the language is blocked off. If you want to start coding, here is a good place to start.