I've tried everything, but the only reliable way I've learned hard things is by diving straight in to something way over my head. Grinding through something with a dozen StackOverflow (or equivalent) tabs open is how I taught myself Javascript/React, HTML, Unreal Engine, and even Audacity. Note taking is probably "better", and I use spaced repetition if I have to memorize things, but the core method is just grinding on something I'm deeply interested in.