1 Web development or programming is all about languages and their appropriate use and fusion.Learning new languages for web development programming like Haskel, Prolog, Lisp,Forth etc provide good educational experience and can then be used for committed projects too.
2 Websites like Github, Bitbucket, Sourceforge etc. provide opportunities to work on open source projects with other programmers or developers. The challenges that come along while working with different developer will make you learn, find solutions and hence enhance your web development knowledge, experience and confidence.
3 Reading good challenging programming/development will help your development IQ reach the next level.
4 Take up a development project. Write codes. Run it. Check for bugs Rewrite codes. Learn from your own codes to get perfect results.
5 Hit websites like Project Euler, codegolf.stackexchange.com and keep yourself entertained along with gaining fun experience and shortest ways of writing codes, all by yourself.
6 Be it from a senior’s project studying unfamiliar codes might be stressful and boring at first but of course are knowledge enhancing and rewarding late.
7 Get to programming blogs written by, shared by good web developers. Write your own blog, participate in discussions and help others solve their programming queries.
8 Learn lower languages too and know about the parts and constituents of lower languages and machines to avoid yourself getting stuck at higher levels.
9 The more you do the more the development part of your web development programmer brain will work!! Try try again before hitting a direct solution aid somewhere