As someone who’s done a CS degree, I can freely acknowledge that the first year of the material covered during a CS degree can easily be found online for free.
However, note that I said only the first year. You won’t be able to find the second, third, and fourth year of CS material online easily, or at all. And most CS degrees cover quite a bit of math, that most self-taught people will probably skip completely (discrete math, single-variable calculus, and statistics & probability). And that’s a pretty big hole. Huge, IMO. The material covered in the 2nd through 4th years is typically what the employers who prefer CS graduates look for - not just the material itself, but also the soft skills that are gained, like the motivation/persistence, the ability to work with other people on a team and create a major 1-year-long project, etc. You don’t gain those skills when going the self-taught route.
Also, most people who criticize college degrees in general forget the intangible benefits of going to college, some of which were mentioned in this previous thread: Help about U.S college/university?. College isn’t just the degree and academics, it’s a life experience that can make a major positive impact in virtually all areas of life.
I digress at this point to say that CS degrees aren’t really needed for those pursuing web development. It’s not a field that really benefits from it. But there are other software jobs that will really benefit from having that knowledge.