As someone how works both, web development is wayyyyyyy easier and faster to learn than data science . Web dev requires virtually no knowledge of any math ever. Data science requires a heavy baçkground of all kinds of math and programming amongst other skills too.