The answer is yes; there is math in front end development, but it is not as complex as some may think. Basic math skills such as division and multiplication are used to determine the size and position of page elements relative to each other. Geometry skills are also employed when positioning elements or calculating distances between them. In addition, developers must understand algebraic equations and probability theory when dealing with variables and random data.
All these skills combined enable developers to create beautiful websites that meet user needs and expectations. So while there is math in front end development, it does not have to be intimidating.