Beginner to JS guide + Bonus Resource
Hi, this article is dedicated to learning JS. Javascript is a one of my first languages which I started with. I've been using JS for almost a year and half now and I'll share how to get started with it.
For absolute beginners
For those of you who are absolute beginner, here are a few things that you should start with
- Variables in JS
- Data Types
- Conditional Loops
- Event Listeners
- DOM Manipulation
These are the most basic things in JS, except for DOM manipulation, all of these topics can be used in other languages as well, so if you intend to learn something new in the future, it'll be easier for you.
After the above mentioned topics are done let's get into a bit intermediate level concepts
- What is an API
- API calls using
fetch()
API - Functions
- Classes
map()
,forEach()
and other prototypal functions- Hoisting
- Closure
- Deferring
After learning all these concepts, you'll be able to build a simple app.
Now after this there are three ways you can move forward
- Frontend Development: Building frontend part of what the user sees and interacts with.
- Backend Development: Building the logic of how different services talk to each other and frontend.
- Full Stack Development: Building both the frontend and the backend.
Now Here is a site for roadmap for all the different paths you want to take.
I am a full stack developer and I personally use the following stack
- ReactJS for the frontend
- ExpressJS for the backend
- MongoDB or Firebase Firestore for database
- Jotai or React Context API for state management
Now some of these terms may make sense to you and some may not, but with some practice and a few hours of reading the docs, these terms may make more sense to you soon.
Bonus
Now if you're totally new to this coding and web development scene, I would suggest you to check out this youtube channel which helped me to start my code journey. I am in no way affiliated to this channel in any sense and I truly feel this might help you start your journey as well.
Thanks for reading and all the best for your journey ahead.