Also, university is essentially 4 years of full-time studying you can do. Spending 4 years "unemployed" while taking online courses/building your own projects/whatever would very likely look odd to potential employers (compared to a more "traditional" path).