Coloured as I am from my personal experience, I learned to code using TDD. I found it incredibly effective. I tend to learn new languages by writing tests to see what the functions do. I remember 'testing' React functions to find out what the HTML being output would look like.
So I'd recommend it, but I'm sure there's more than one way to learn so don't worry about it too much.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.