How can I stop relying on AI while learning to code?
Asked by
MellowPine47
I'm in 11th grade and have been learning Java and a little Python at school for the past few years. I understand those reasonably well, but recently I started building a website with HTML, CSS, and JavaScript. Since I didn't know those technologies, I used AI to generate most of the code and planned to learn along the way. Instead, I now barely understand how the website works and can't make progress without AI.
I've also started using AI for Java projects, and I'm worried I'm forgetting concepts I previously knew. Using it has become a habit, and I'm beginning to feel dependent on it. Has anyone dealt with this? What practical steps can I take to rebuild my skills and use AI as a tool rather than a crutch?
Answers
The simplest approach is to remove the temptation for a while. Disable or uninstall coding assistants, then choose one small part of your website and build it yourself. Start with the HTML structure, use documentation such as MDN, and type everything manually. Donโt try to rebuild the whole site at onceโfinish one simple page, then add small pieces of CSS and JavaScript as you understand them. Feeling stuck for a while is normal and part of learning.
Reply to this answer
You donโt necessarily have to quit AI forever, but donโt accept code you canโt explain. Whenever it suggests a command, function, or block of code, stop and look up anything unfamiliar. If necessary, make a tiny practice project to learn that concept first. Try writing your own solution before asking for help, and use AI afterward to review your attempt or explain an error rather than generate the entire project.
Reply to this answer
Go back to the method that helped you learn Java and Python: tutorials, books, documentation, exercises, and lots of small programs. Build separate projects for HTML, CSS, and JavaScript instead of learning all three through one complicated website. For example, make a static page, then style it, then add one small interactive feature. Regularly solve problems without assistance so the knowledge becomes yours again.
Reply to this answer
Using AI isnโt automatically bad, especially once you already understand the fundamentals. The important distinction is whether youโre using it to learn or simply avoiding the difficult parts. Write the first version yourself, read and debug your own errors, and only use AI for a targeted explanation or a second opinion. If you canโt explain what a generated section does, donโt add it to your project yet.
Reply to this answer
Add your answer
Answers are reviewed before publication.
MellowPine47: That makes sense. I think I tried to learn three new technologies through one oversized project and made it much harder than it needed to be.