If you make websites for a living, know that you are *extremely likely* to be wealthier than the people on whose devices your code will run. This matters to *how* that code runs.
Let's say you're a webdev in the US, building for the US market exclusively. There's huge variability in cost of living across geos, but even so, Indeed shows a an average base salary for a webdev of ~$80K/yr:
https://www.indeed.com/career/web-developer/salaries
Median* household* income, meanwhile, is closer to $70K/yr: