I think it helps to come to peace with the fact that the web is extremely diverse, then pick a tool and learn it. In reality, table stakes is HTML, CSS, and at least a general understanding of JavaScript (not a deep dive). Then I'd pick a framework that makes these things a little more intuitive. In my opinion, that's NextJS, React, and Tailwind -- almost solely because there is a pretty large mindshare around them so there are a lot of tools and libraries that support you. Once you get the hang of these things, frontend development becomes pretty easy.