The COVID-19 had resulted to shut all schools across the world. Globally, over 1.2 billion children were out of the classroom. Due to which education is being pushed all online. There is a big concern about providing knowledge online. It is very difficult to learn and instruct online. Programming language is itself a hard subject, which is hard to learn even with the proper guidance offline. It is not only difficult to learn to code, but it is also more challenging to teach programming languages online. Firstly, this paper aims to create advancement in e-learning making learning code online effectively. With the use of socket.io technology in JavaScript which helps to practice coding in real time. Moreover, it tries to bridge the gap between the learner and the instructor making teaching and learning code online efficient.