Hi Saransh!
Well, first I want to congratulate you because you're asking the exact right question, and I think this is probably the most important one in all of your career, or at least it has been in mine.
I didn't go to college for web development even though I do have my masters. Teaching myself tech has been the single most important part of my career development and growth, and will continue to be. We work in an area with amazing developments constantly, and we have to always be learning. We have to consider very carefully the ways we learn the best. If you don't do this, tech will eventually outgrow you, no matter your background.
Ok so here's my answer: it's not just one way. I tend to follow people on twitter and read newsletters to figure out what things are trending or what sounds interesting to me.
I've figured out that I learn best by building things. I can read any book or watch any course but I'll only catch a fraction of what they're saying if I don't also make something out of it on the side. When I'm first learning, I try not to copy paste code or use snippets so that I'm typing everything out and committing it to memory. Once I've got it down a bit more and find I'm writing the same code a lot, then I'll allow myself to copy or make myself some snippets.
So, those are the two best steps I have: follow people you respect and pay attention to what they're talking about. Find technology and tools that genuinely excite you if you can, you're more likely to stick with it that way. And code along with whatever you're using to learn. There are tons of free resources, but investments like code school and frontend masters and egghead really pay off in dividends. I try not to count those expenses as entertainment, but rather as investments in my future self. It's definitely been worth it.