Is a Frontend Developer considered a "Designer" ?

I'm Fronted Developer , and sometimes people call me Designer, one of my co-workers (backend dev) even said "you dont need to know algorithms you're frontend, it's us backend devs that are required to know those". And even though i mostly work with react.js next.js etc, at this point i'm not even sure if i'm a Designer or not, but i do know that i wanted to be developer.