“As a newbie to both backend and frontend development what is the first thing I have to learn? And what are the next few things I should learn to become a programmer or developer?”
So in your question you used the words “programmer” and “developer”. Which are somewhat interchangeable…but not exactly.
However, I am going to assume you want to be a web developer since you used the terms frontend and backend, which pertain to web development.
Why? It’s a good introduction. There’s a reason why so many courses start with those two things—they act as a solid foundation.
As far as what to learn after that…
It depends on whether you want to specialize in frontend or backend.
I suggest not trying to go for fullstack…at least not within your first few years working as a web developer.
The fullstack dev is (kinda) a myth. It’s not realistic.
There’s simply too much nowadays that makes up the frontend and the backend. As a result, a person is better off specializing in just one.
Below are all the components of the front and backend…
…yeah, it’s a lot!
Over time and as you progress, you will probably learn about both the front and backend. But there’s no good reason to do it all at once.
So…what should you do? You should experiment with both backend and frontend. See which you take a liking to.
And then focus in on that.
If you choose frontend development → check out this in-depth article I wrote about the skills required to become one.
If you take a liking to the backend → take a look at another article I wrote about the skills required to become a backend developer.
Hope this helps!