I don't think you'll need to be good at algorithms if you're going to be a frontend developer.
You will be a beginner in the market if you're learning these recently, it's totally fine for beginners to get into market and follow the best practices and still make mistakes. You'll have that experience of programming as you grow your skills and spend more time programming. Programming is just like maths, the more you do it, the more you know. It's not like you'd sit down today study all the algorithms and tomorrow it will help you save 95% of the time.
Consider it like driving. Assume you don't know driving and you sit down one day to study everything and just mastered it in your head but that doesn't help you be the best driver or somewhere near a driver with an experience of 10 years.
If you're going to be a full stack developer, be a frontend developer first. Once you explore this dimension you'll know what is your niche and you can easily target that, master it and be a full-stack developer.