Exercism.io is a great online platform alike hackerrank with coding tidbids aimed to familiarize yourself with various languages in a practical manner.
The best part of the platform are the mentors - if you follow the Language tracks your code will be reviewed and one of the available mentors for tha tlanguage will give you feedback on how you could improve your solution using features of the language you may not be familiar with.