42 AnswersNew Answer
Simple - write more. It's same as playing a guitar, you won't learn by reading books about it. But if you practice / write js code it'll become second nature. Reading and tutorials are just to get you started, you will improve much more if you just start your small project and work on it
A soccer manager once said, the best way to attack is to defend. So in JS, the best way to learn is to try as much as possible to create and accomplish a project. Projects like - birthday calculator, color generator, quiz programs...
Look at examples and start practicing writing code.
I Am Nothing 😞 don't spam.
Start from the beginning, and make sure you practise each and everything you study, all from the beginning. To make your work easier, go inline with some html and you will be where you want. Happy coding 😉 Keep coding 🙏🏾
It all depends upon how much you practice and give time to writing code. Work on your own ideas, rather than seeing other's code. You'll gradually improve your coding skills.
monkey Therefore, it will be easier to read code vs writing it as you are still training your brain to think imperatively, following state changes in variables, and understanding how control flow is affected. Writing code, first, requires recalling syntax from memory. That's the easy part. The harder part is knowing how to apply that syntax to manipulate variable state to control logic flow, inputs, and outputs. It's something people simply need to practice daily until it becomes natural for them. I recommend doing code katas on CodeWars.com. It's well organized, gamified, and has a massive community to see other ways to solving the same code challenges. Keep practicing and trust you will eventually develop an intuition for these many new concepts. 😉
thanks a ton for all of your suggestions, i did not expect this much from you guys, thanks 👌
Sonic , that would be really cool if it existed!
monkey if I'm being honest this is a ridiculous question. How can someone answer it ? You have to study the language, and then you'll be able to write code with it. Also, you didn't even say where you have the problem exactly. I'm not answering this anymore. Do you just expect people here to teach you how to assign values to variables ? or create functions ? No one is going to suggest any different answer, it's all about testing and practicing.
For the first time, you can't escape from reading. But after you got basic notions, you just need tutorials. By writing frequently js codes you shall want to release somethings and with the time, you will become a guru trust me ;)
Rewrite and better simple programs while thinking about what they do and how they can be improved!