I think that this is a question that will draw a lot of opinionated responses.<p>There are new technologies driving every day both on the front end and back-end that demand attention to stay 'current' with what is going on. I don't think that it is fair to say that either is 'harder' which will not earn me a lot of love.<p>I am a back-end engineer currently doing freelance independent contacting, and I am fully self employed in the U.S. and I have developed a lot of respect for front end developers in the last two years while pursuing a true full-stack set of skills. I work with Java, ansible, docker, kubernetes, and AWS for my development cycles and I find the front-end work to be the trickiest personally. I say that because it is typically what customers touch every day, so it gets the most scrutiny. My back-end code can be solid and the front-end engineer can screw up the UI and I will still take the fall, so I think it is worth noting that regardless of difficulty you need to think about what the customer will be looking at, at the end of the day.<p>I <i>personally</i> think that with traditional back-end coding you have to learn good coding practices to be able to fit into dev ecosystems, and you get <i>very</i> active feedback on when you're doing something wrong. I have not had the same experience with the front-end, I have seen a lot more of "Does it work? Cool. Sure we need to fix it, but we can do that later" while working on that side of products. In my experience that has led to rushed code that has bugs that are not easily found, or is just slow in general.<p>So which one is harder? I want to say back-end because I am a back-end engineer, every front-end engineer I know says the front-end is worse. So at this point I honestly think it more depends on what <i>you</i> know as an individual.