Hey, @gikitiki advice is very good. Begin your own personal projet.
Just don't stop at what you can do, but push the limits and give you goals you don't now YET how to achieve.
If you see something cool on a website, go in the console and try to understand, then do it on your project !
There's probably literaly thousands of little things that you miss on your daily web surfing, think about it and you'll find nice ideas :)
Talk about your project here. Maybe you'll find coding buddies wanting to help or build something with you.
Maybe they won't be of assistance on your specific part, but they could help you somewhere else (like a database, a web scrapper, etc. ).
The other way you could go, is the open source community. Find a project that interests you and get on board.
You'll have rules to follow, fellow contributors, a git repository to work on, and so, and so ... That's the closest you'll find to working in a company dev team :)
By the way, I followed the same path you do, but 13 years ago ! At that time, the king was named "[Prototype](http://prototypejs.org/)" and we were not doing "Web 2.0" but "AJAX". Made my own little CMS for my long gone personal website. Funny thing, Javascript and PHP led me to SQL and MySQL. And they opened me the doors to Business Intelligence. Now I'm happy writing 2000 line SQL scripts, using ETL's and making dashboards crossing half the data the company owns :-D
Good luck on your developer journey. It will be a long path with a lot of discoveries and new technologies to enjoy!