r/learnprogramming • u/Massive_Confusion582 • Apr 29 '26
Should I learn HTML, CSS & Javascript before Python?
Hello everyone!
I was hoping someone could help me with my question. I started coding in my spare time (1 month in), and found it enjoyable. During this time, I have been doing a coding course (free) called "The Odin Project." During this course, I learned about HTML, CSS, and very little JavaScript, about 68%+ in the course. I don't know if I should keep on going with the project. Or drop it, and go for Python. I really want to code things like bots and such (Don't even know if you can say that)
What would you recommend? And do you have any advice on Python/coding in general, such as videos, books, or what you did to learn it?
Much appreciated the help!
4
u/Gresliebear Apr 29 '26
Just do what is enjoyable i started with HTML and then JS then react.
I learned python later but general advice is get good at one language first and then start expanding in others because the ideas of programming can be similar but not 1 for 1. Like I move between using python , Javascript if I am building fullstack.
1
u/DrShocker Apr 29 '26
please clarify what you're unsure you're allowed to say because making bots seems like a reasonable goal.
Nothing you've described requires Python over JS/TS. I'd suggest sticking with JS because being able to make visual interactive things is neat and easier to distribute if you do web frontend.
People write reddit or discord bots either Python or JS all the time, at the end of the day they're just slightly different ways to express instructions to the computer. So, I'd stick with JS in your shoes until I feel confident I could do a bot in it, and then consider another language after having 1 in my belt rather than hopping before I'm familiar with coding in general.
1
u/ValerianBorn8785 Apr 29 '26
I believe you should finish up with the course, python is good for automation, but programming generally is built on some basic principles that you could pick from finishing the odin's project, it would also go far in improving your discipline in finishing projects, because trust me, you would get tired of some projects and might want to drop them, but if you are disciplined enough you would see it through.
Then, while learning python, without a course or even with, i believe you should get a project you want to work on and you are willing to see through, it would really help your programming skills.
1
u/Pure_Relationship809 Apr 29 '26
Keep going with The Odin Project! The full-stack JavaScript path is excellent and gives you a real working mental model of how the web works. Python is great, but the two are complementary — there's no wrong order. If you're 68% through and enjoying it, finishing what you started is a great habit to build. Web dev skills (HTML/CSS/JS) also tend to open doors to jobs faster since frontend is highly visible. Python will still be there when you're done, and picking up a second language becomes much easier once you're solid in one.
1
u/AncientHominidNerd Apr 30 '26
HTML and css with js is primarily a web design skillset. It’s not regular programming. Python is a regular programming language. I’d suggest finishing the project then learning Python after. It’ll be good to have both under your belt.
1
u/spinwizard69 May 01 '26
HTML and CSS, have little to do with programming in a traditional sense. They are used for page description. You can learn these anytime you want in parallel with a more traditional language is not a problem. JavaScript is a programming environment originally designed for web browsers embedded in web pages. I would not bother with JavaScript until you have made some progress in a CS program.
So what am I saying? Simple if you want to program, follow a decent CS program that focuses on concepts. Ideally that course starts with C++. Get the basics down, the concepts that is and you can pick up any programming language fairly fast. Do this to the equivalent of 3-4 semesters and you can easily pick up Python and JavaScript. Which language you focus on will depend upon which direction you go in. If Macs are in your future that language might be Swift.
1
u/skillifysolutions May 04 '26
Finish Odin Project, you're too close to stop. Then pick up Python specifically for the bot stuff you want to build. Automate the Boring Stuff with Python is free online and gets you building real things fast. One month in and already 68% through a course is a genuinely good start.
1
u/ImpactSweet6516 Apr 29 '26
I would do HTML, CSS, and JS first then move to react. this will allow you to understand frontend websites and some backend stuff first, then do python which is then the backend stuff for a website. this is what i did and im just fine.
1
u/immediate_push5464 Apr 30 '26
No
7
u/[deleted] Apr 29 '26
[removed] — view removed comment
1
u/[deleted] May 01 '26
[removed] — view removed comment
1
u/[deleted] May 01 '26
[removed] — view removed comment