Webdev or competitive prog or both?

I’m a fresher 20 graduate, currently practicing web dev and I love doing that and I am also learning python and c++ and practicing on hackerrank , but now I feel like I should focus on web dev only. if someone can guide me what should I do it will be much helpful for my career. Thanks