r/learnjavascript • u/Alone-Magician-1077 • May 12 '26
A little help/guide please
I am a graduating college student, but my school focuses mostly on hardware. I'd like to learn coding so I'd give mysel more choices in careers in the near future.
So, I did what most would do first: ask and google.
Most people say I should just go straight through React, but google said I should focus first on HTML & CSS first to fully understand it.
But I'd figure that it's best to ask others as well, like this sub.
Should I actually learn HTML & CSS first before going to JavaScript? should I directly go to REACT? Or maybe you guys have some other answer?
View all comments
Show parent comment
1
u/xoredxedxdivedx May 13 '26
Learning "coding" is orthogonal to learning HTML and CSS and web stuff. If you specifically mean you want to become a web developer, then it's not negotiable that you learn HTML and CSS before you learn how to use JS to manipulate them.
If you mean coding in general, I would recommend taking a few weeks to learn C first, since you presumably are somewhat aware of hardware, to see how the stack works.
E.g., how it goes from hardware, how the OS sits on top of that, and build up from there. To be more concrete:
Once this goes from very vague (in your own mind) to somewhat concrete, then you can pivot to any language, because you understand that you are just poking memory and doing math & operations on memory regions.
It may be(?) an unpopular opinion, but if you get into something like React, with no idea how anything actually works, even the concept of something being a reference to an object will sound mysterious to you, or wouldn't be something that would cross your mind.
Like I remember (way before AI) how common it was for people to ask for help with something like React, because they change the stuff in the object, but they don't realize the memory location is stable therefore myObj === myObj will always be true, and the page isn't updating how they think it should.
And then if your understanding is shallow, you just end up memorizing a bunch of voodoo to get things working without really internalizing what's going on.
Anyway, tl;dr: Spend a few weeks learning C, then if you really want to do web dev, do HTML/CSS -> JS -> React, in that order.