I think learning to code in just 2 months is possible, but mastering it, it's another story. For 2 months, base on my experience, you can maybe learn the basics of a certain programming language, but knowing on how to use them effectively, learning some new tricks, I don't know you people, but for me it really takes time to master a programming language. Like CSS or HTML learning the basic of this language is not that hard, you can easily learn how css works, how does it affects the html file, but knowing how to animate a content of your site when someone hover the content, knowing how to clip the image using css, knowing how psuedo class work, for me it taking time. All of this is just base on my experience.