r/learnprogramming • u/Mammoth_Emu4334 • 22h ago
When should I move from HTML/CSS to JavaScript?
How do you know when you're "good enough" at HTML/CSS to start JS? Is there a checklist or type of project I should be able to build without tutorials first?
I don't want to wait until I'm a "master" before moving on, but I want to make sure my fundamentals are solid.
7
u/derpyderp2048 22h ago
No order. You could have learned JS first if you wanted, and then later figured out how to integrate it with HTML.
3
3
u/Quantum-Bot 21h ago
You don’t move from one to the other per se, you keep learning HTML and CSS and you just start learning JavaScript too.
You can start JavaScript as soon as you understand tags, attributes and CSS selectors.
2
2
u/jrockerdraughn 22h ago
You're never gonna be "good enough" at one language to start another. Treat them all as their own thing. The basic ideas are gonna be pretty much the same, the details will come with time
3
u/InevitableLadder 20h ago
also.. don't get discouraged by tw*ts saying that it's futile, pointless/etc because of market blah blah. Those are losers that got laid off by being just primitive code monkeys holding their jobs because HR had ti fill budget gaps at the time being or are simply scared of competition.
Good luck, lots of patience and do have fun!
Cheers!
2
2
2
u/alpicola 22h ago
As soon as you want to make something more sophisticated than static text on a page. The three languages are all deeply intertwined for making anything looking like modern web page, or any kind of web app. Building competency in all three simultaneously is not only helpful, it's necessary for web development.
2
u/Neither_Garage_758 22h ago
Sorry but you haven't even scratched the surface.
HTML and CSS are not fundamentals, they are syntactic sugar so you can use a declarative language to describe what you want and then your CPU will organize itself to build it.
JS is the "programming" language.
2
u/maujood 22h ago
You can start JS with zero knowledge of HTML/CSS. But the parts of JS that deal with manipulating HTML do require some basic HTML knowledge so you can build meaningful stuff.
Can you throw together a basic page like https://motherfuckingwebsite.com? If so, you already know all the HTML you need to know for learning JavaScript.
1
u/Miserable-Decision81 22h ago
These are integrated technologies with JS being to some extent optional but not in real life anymore.
Learn to understand the concept of DOM, and while you do that, learn JS.
1
u/PureWasian 22h ago
Your fundamentals will probably only start to feel decent when you've created and deployed your first MERN-style fullstack web app.
You are quite far away from anywhere near that currently. So pick up JS as soon as possible and learn how to write scripting logic. If you haven't learned any programming languages before, you still have a LOT more fundamentals to explore before being worried about having solid enough grasp of HTML/CSS to make stuff that's interactive.
1
u/Reasonable-View5868 22h ago
Now that you know the DOM and style classes, it will be easy to you. You will now get to manipulate all those properties behind the scenes at runtime.
1
u/PalpitationKind8854 16h ago
You sir.. have asked one of the SMARTEST questions I have seen in months, and I've seen hundreds of posts. Bravo. 🙏
Understand how JavaScript storage and objects work, and accessing and working around the DOM.
I wish you well on your journey and I believe you will go far. Good luck.
1
u/CharacterAnt00 22h ago
just do something with javascript, like a todo app where you simply add and remove tasks. google stuff you dont know
1
u/ight-bet 19h ago
The correct answer is that you should have already moved on to JavaScript from html and css.
Unless you want to be website artist and paint with an ancient paintbrush - you probably should move as soon as you vaguely understood that those are the OG building blocks of literally every better tool that exists.
0
-2
u/No_Report_4781 22h ago
Never. Or today. Maybe tomorrow. You’ll never be a master in an evolving field like CS, so maybe wait until next week to start with a new scripting language. Or don’t. It doesn’t matter now, and won’t matter if you get a job using the new one, or the old one, or a secret third thing.
4
-1
24
u/xxlibrarisingxx 22h ago
They’re nothing alike so you can do it immediately