Hello, I started learning about web development 2 years back. I find it interesting how the things change and new features keep coming in this field. nowadays, if u want to become a full stack developer who knows fully about frontend, backend and other important basics stuff of web development effeciently it would take a minimum of about 5 to 6 years to come in between an average and an expert web developer.
By that time various new technologies and programming languages would come up. So to be an expert you should be aware of the latest trending programming languages, softwares, and technologies i.e. you should flow with the trend and second thing which is more important is practicing. The more you will practice the better you would become.