Certainly AI wouldn't replace top class coders (let's say top 1%) in 10 years time, however AI certainly able to replace >50% of coders now and slowly moving up and will get harder and harder
Not even 5%.
Currently even the latest and greatest LLMs (looking at you ClosedAI o1) sometimes crashes and burns even with simple standalone React components. They are completely and utterly useless with writing code for my legacy backend codebase. Unless I can fit the entire codebase into the context window, no LLMs can contribute without me spoonfeeding them all the relevant context... which is like 90% of the work.
LLMs are immensely helpful and allows me to become much more productive, being able to ask my specific coding questions and receiving a specific answer insanely streamlines my development process, but that still relies on you knowing what questions to ask
That said with future advancements, I would say your cookie-cutter front-end only code monkeys are going to struggle in the future, but more generalist developers should still be fine.
I have to ask, had you done any professional software development? Do you have a degree in Comp Sci or write code for a living? Do you even know how to write code? Any projects, toy programs or anything?