I'm currently learning web development, specifically focusing on JavaScript. I've been making small practice projects like quizzes and an RPG quest generator, and I'm now working on a simple music player. What I usually do when I want to build something new is check out existing versions online. I look at the HTML, CSS, and JavaScript to grasp the concepts, then I try to rebuild it independently in a new project. However, I do Google some parts I'm unsure about. My friend told me that this method is a 'bad habit' and that real programmers should create everything from scratch without looking at anyone else's code. This has left me confused about whether I'm learning correctly or not.
5 Answers
Ignore that friend of yours! Most developers start by researching how others tackled similar problems before diving into their own creations. Studying others' code is a great way to learn new techniques and best practices.
Learning from others is how skills evolve in any field, including programming. Think of it as a way to gather inspiration and techniques that you can adapt to your own style. Just avoid copy-pasting without understanding, and you'll be fine.
Your method is actually a great way to build foundational skills. Many experienced developers do the same thing when they encounter new challenges. Just be sure to engage with the code. Modify it, break it, and figure out why it works the way it does. That's where the real learning happens!
What you're doing is totally normal and encouraged! Getting inspiration from existing projects helps you see different approaches to problem-solving. Remember, even the best programmers learn from the work of those who came before them.
Not at all! Your approach is totally valid. It's important to learn from others and understand the code before you create your own version. Just make sure you're not blindly copying—try to grasp the 'why' and 'how' behind the code you see. That's how real learning happens.

Related Questions
How To: Running Codex CLI on Windows with Azure OpenAI
Set Wordpress Featured Image Using Javascript
How To Fix PHP Random Being The Same
Why no WebP Support with Wordpress
Replace Wordpress Cron With Linux Cron
Customize Yoast Canonical URL Programmatically