Focus on a particularly in-demand specialty (versus being broad). Just as an example, the demand for React developers is extremely high right now. If front-end isn't your thing, the demand for Python engineers seems to have caught the industry by surprise, thanks to the AI boom. It has drained the available Python programmer supply. I'd expect that demand to continue.
There are a bunch of other specialties that can pay very well, such as ecommerce platforms. Ecommerce in the US will double over the next ten years. And given the sum involved, that's a pretty massive economic opportunity, there are not anywhere near enough engineers & developers to go around for that change. If you acquire an expertise with Shopify, Magento, Bigcommerce, etc. you can do very well in the space.
There are a bunch of other specialties that can pay very well, such as ecommerce platforms. Ecommerce in the US will double over the next ten years. And given the sum involved, that's a pretty massive economic opportunity, there are not anywhere near enough engineers & developers to go around for that change. If you acquire an expertise with Shopify, Magento, Bigcommerce, etc. you can do very well in the space.