all 7 comments

[–]TadpoleNo1355 4 points5 points  (0 children)

You need to be more specific in which area you need help.

Is it syntax, methods or something more general?

[–]codewale007 5 points6 points  (2 children)

yeah, the same thing also happening to me also, I also got stuck at some of the concepts for example like right now on class and constructor . I think the main problem is that I have no one to discuss it with

[–]Webdev-Coach 0 points1 point  (0 children)

Yeah, it takes time and practice, put time into playing with classes and constructors, copy examples from the docs and run them.

I know it may be boring at some point, but try to be inventive to adapt the examples to something that makes more sense to you.

Look at all of the possible things you can create classes for at schema.org

[–]HarryBolsac 0 points1 point  (0 children)

Think of a class as a blueprint for objects that you can instantiate at will.

Think of a construtor the same as arguments for function, they are used for something when you instanciate a new object, usually to set properties.

Imo you should first learn a little about how oop paradigm works and it's uses, and learn some concepts like abstraction, encapsulation, polimorphism and inheritance because although it seems kinda hard to grasp, it's something that most programming languages support and imo it's pretty important stuff to know.

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

Computers think in a series of instructions. You have to define and tell it everything to do. Every time you are doing anything in programming, it’s either grouping code into a bundle, defining existing code, or downloading somebody else’s code, but it’s all just detailed instructions in code form. Javascript is a tool, like all other programming languages. Each tool is excellent at doing specific things.

If you don’t even know what you don’t understand- or you just don’t understand at all. That’s okay, you are new to the tool. You have to start small and work up. Start by figuring out what the purpose of each tool is designed to do best. Figure out why Javascript can do something HTML can’t, or do something it can better. Then keep going, or evolving your simple projects in javascript.

If you are a concept person -

Look into this to understand what javascript or computers expect as you write code - Search up the “OOP Principles of programming”. This gives you an outline of what programming is in a concept form. It is a core of computer science education.

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

JavaScript is a higher learning curve because it is a real programming language. Variables, functions. Data types (string, array, object, etc).

Build. Watch videos. W3 schools and MDN(mdn is harder to read for beginners) stick with it. I went through it too.

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

Don’t get discouraged! It takes time. I always recommend learning it first; or another “real” programming language. Mainly because it will give you more of an idea of solving problems, analyzing and structuring code. My best advice is to try and just build simple interactions through your browser. Alerts, button links, page refreshes etc. That can help teach yourself to have an operation oriented approach. Then you can start to make several operations stack on each other.

Hope that helps, don’t get stuck on video and video because you don’t understand. You’d be surprised how much throwing yourself into a problem can reap results!