Even as AI writes more of the code, beginners still need hands-on time: writing code, fixing their own bugs, reading and reviewing code.
That's how you build the knowledge and the vocabulary to get a good result, whether you're writing the code yourself or directing an agent.