I agree with the general idea, but think it can still serve benefits. From my own experience, Codecademy can be good training wheels but you have to go outside of it--essentially use it as a tool to know what's out there to play around with.
I agree with the rest of it, but would also add that in addition to writing out code, take notes, too. This can be alongside the code you just wrote or somewhere else, but take notes somewhere. This has a couple benefits: it usually means that you'll have to read an article or watch a video twice, plus it allows you think about what code is doing. Even if you're taking the advice to write out code, it's easy to gloss over that part.
I agree with the rest of it, but would also add that in addition to writing out code, take notes, too. This can be alongside the code you just wrote or somewhere else, but take notes somewhere. This has a couple benefits: it usually means that you'll have to read an article or watch a video twice, plus it allows you think about what code is doing. Even if you're taking the advice to write out code, it's easy to gloss over that part.