Frameworks not only make you a more efficient developer, but they also reduce the likelihood that you’ll make mistakes or errors, since the code has already been written and tested by other devs.
That depends on what your goal is. For starters, figure out if you want to work in front-end or back-end development. “Are you interested in coding things behind the scenes and doing all the operations of a web app?” Jiwon says. “Or, are you interested in rendering what people actually see?”
If you ultimately want to focus on front-end development, Jiwon suggests that you start with React.js. In a 2021 Stack Overflow survey of 60,000+ developers, React.js was the most widely used web framework. And it makes sense why React.js tends to be a front-end favorite: It allows you to build dynamic and interactive web apps that are scalable.
Good to know: There’s some debate about whether React.js is technically classified as a “framework” or a “library,” which is another set of previously-written code that you can use to build your own code. The subtle distinction might make your head spin, because both libraries and frameworks contain pre-written code that helps you do something. “The difference between a library and a framework is that frameworks generally give you structure for the whole web app,” Jiwon says. “A library will help you achieve one specific goal.”
Check out our course Learn Node.js, which will teach you the basics of back-end web architecture and how to write server-side logic. While learning Node.js, you’ll discover that there are lots of different modules, which are built-in features that interact with the command line. For example, in the course, you’ll get to make your own HTTP server for an online Rock-Paper-Scissors game.
If you’re really ready to take the next step and want to pursue a tech career, check out our Front-End Engineer or Back-End Engineer career paths for in-depth practice and lessons that will get you ready to interview for jobs.
And remember: Everyone has different learning styles and philosophies, so you’re not limited to these beginner-friendly frameworks. If you’re someone who likes to dive in and learn by doing, don’t be afraid to explore more advanced frameworks (like Angular.js), Jiwon says. You really can’t choose the “wrong” framework, and there’s a good chance you’ll touch on lots of other frameworks as you progress as a developer.