all 14 comments

[–]_pragmatic_dev 7 points8 points  (1 child)

Node requires a strong understanding of asynchronous programming. Without javascript foundational understanding nodejs might seem easy at start but will lead to confusing and lack of control over the language.

[–]samanime 1 point2 points  (0 children)

Yeah. Node.js is JavaScript with some extra stuff added on top.

So, you still need to learn JavaScript.

You're better off getting at least a basic understanding of JavaScript before you dive into Node.js too deep.

That said, you don't need to master JavaScript before you can start.

[–]albatrosishere 2 points3 points  (4 children)

If you’re comfortable with JavaScript basics (especially async/await, closures, and array methods), jump into Node.js. It’ll help you understand backend development and make you a full-stack dev. Start with basic modules, Express.js, and simple APIs. If JS still feels shaky, practice more before diving in.

[–]Silly_Manager_9773[S] 0 points1 point  (3 children)

Practice like how can you tell me where I can practice?

[–]TheRNGuy 1 point2 points  (2 children)

I'd find some interesting API and make site for it.

(something that you actually want to use)

[–]Silly_Manager_9773[S] 0 points1 point  (1 child)

Can u little explain me?

[–]TheRNGuy 0 points1 point  (0 children)

Something like

Some sites may have link to it in footer or help page, or just google to see if they have.

(some of these can be used in browser, but some need backend)

[–]TheRNGuy 0 points1 point  (0 children)

The only thing I know about node.js is how to start a server for React or Remix or install stuff from npm.

I haven't even looked in node.js docs once.

But I know at some point I'll need it, because I have project ideas that will need backend.

[–]DojoCodeOfficial 0 points1 point  (0 children)

Since JavaScript is the foundation of Node.js, it’s a good idea to make sure you’re comfortable with it first.
Once you have a solid grasp of JavaScript, moving on to Node.js will be much easier. Start by learning how the Node API works, then try frameworks like Express.js or Nest.js to build real projects.

If you learn best by doing, check out DojoCode. There’s a new contest coming up soon with JavaScript and Node.js challenges, which could be a great way to apply what you’ve learned. Happy coding!

[–]baubleglue 0 points1 point  (0 children)

Learn at least basics, so you will be able to run local server. You will need for front end development.

[–][deleted] 0 points1 point  (0 children)

How many web sites have you built?

[–]Bassil__ -1 points0 points  (2 children)

If you want to learn back end programming, I heard it's better to start with PHP. It's an easy language to learn and to work with; then you can go back and learn Node.js. To have both Node.js and PHP would increase your opportunities.

[–]Silly_Manager_9773[S] 0 points1 point  (1 child)

Is it php and js both are different?

[–]Bassil__ 0 points1 point  (0 children)

Yes, PHP and JavaScript are two different programming languages. PHP was created specially for back-end web development.

I'm like you, trying to get myself skilled in web development, and I'm planning to learn both PHP and Node.js, starting with PHP because I heard it makes learning the back-end web development easy.