Learn2code was a failure for a reason.
Did you ever see any of those nonsense "learn to code" resources? It was a failure by design. Any idiot can learn to code (just look at all the idiots here with long careers creating tech debt) but absurdities like 'hour of code' seemed to go out of their way to make simple things needlessly complex. Many of their 'coding' exercises obscured essential concepts so completely that I'm convinced it must have been intentional.
Insecure professionals love needless complexity. Not only does it keep them from getting bored, it helps keep the number of developers low enough to keep salaries from falling through the floor. They love absurdities like Agile that let you justify unnecessarily large teams while keeping software quality low enough that individual developers are hard to replace. This nonsense wouldn't be sustainable if we taught basic programming in middle school.
We need fewer professional programmers and more professionals that can program. Even if they never write a single line of code, they can apply those skills in countless other ways. Even the idiots with no other skills know this, which is why they fight so hard to keep people from learning to code! It's why they hated VB back in the 90's -- you could hire a kid right out of high school for pennies and they'd be productive enough to justify their salary in a few months. Sure, they'd sometimes make a mess, but so would the much more expensive newly-minted CS grads.
I understand gatekeeping a profession, but programming? It's a skill that children under 10 can pickup on their own with almost no resources. It's a skill people in other professions can pickup over a weekend to make their real job easier. Let's stop pretending that it's a rare talent or requires a "special mind" or other silly nonsense.