While talking with developers I heard a lot that most of them prefer to be on backend as compared to frontend?
I know it’s everyone’s choice who love to do what. But still in my experience developers are more biased to be on backend side compared to frontend.
The following list is all generalities and will have a ton of exceptions. Take it with a grain of salt:
All that being said, I'm a frontend engineer (Android/mobile) and my career has gone pretty well if I do say so myself. Do whatever you love (and I love frontend/product).
More thoughts here: "Fear of picking a specialization/niche: Is focusing on front-end okay?"
You can also look at this purely from compensation. Some companies (notably LinkedIn) pay infrastructure engineers 10% more than front-end engineers.
A few reasons:
I would also make sure that you are asking a diverse population of developers and that the sample wasn't biased towards backend engineers.
I know of a bootcamper FE who will be staff this year ( pretty good company, non-FAANG) While me with FAANG experience, MS and all is still a Senior. It depends, is the short answer.