Beginners Mistakes While Learning to Code

1) Picking of a Programming Language
You can pick any programming language you want to, pick one, and focus on learning the basics don't waste your time deciding which programming to pick up and wasting the whole semester. Go For Popular languages and JS is the money-making programming language. Java and C++ people because they are taught in college as their first language.
2) Learn DSA
While learning anything it is important to learn actively rather than passively learning a day and then a week and again you start giving up. Try to code every day for at least 1hr and understand how it works rather than making it work. Initially learning will be hard and it takes time give yourself 6 months of your time start slowly and increase your time for learning. It is important to learn the DSA don't waste your time whether to do DSA or not. It will open many opportunities once you learn and it is a one-time investment that increases your chances of getting into a good company.
3) Learn in Public
It increases the chance of your luck that anyone might notice your work and also keeps you accountable for showing up every day.
4) Learn Git
Git is a popular version control system that keeps track of your code changes. Push your changes to the GitHub repository where ppl can able to see what you have built.