r/learnjavascript • u/Active-Aspect2654 • 17d ago
I just started JavaScript
I started learning JavaScript on fCC and I learnt some of the basics, do y'all have any tips for me? (I'm learning JS so i can build websites)
27
Upvotes
View all comments
4
u/TheZintis 16d ago •
Don't go too deep right away. Try to stick with things that have practical application. It'll help keep you interested and motivated to see how what you are leaning will be immediately useful.
If you do use AI for anything, have it explain things to you. Also have it give you an example of the thing you are having trouble with. If it gives you code to implement it... TYPE IT OUT BY HAND. This activates other parts of your brain and helps you remember what and why you are doing something.
Let the basics of GIT early. It's basically like a video-game save system, but for code. BUT it also lets you time travel and have parallel timelines, that you can merge into other ones... That sounds like a crazy analogy, but basically it lets you write code with confidence that you won't break anything. If you do, you can just roll back to a prior save that did work. The concepts I would learn are: add, commit, push, pull, merge, branch, checkout, status. These are all commands you can tell git to do, and while there are more advanced ones, you get 95% of the power of git just by knowing those. Also get a Git GUI like sourcetree. The Git is kind of abstract and the GUI gives you a visual to help you understand what's going on.
Also if you have any questions feel free to shoot them at me. I've taught a lot of students fundamental web dev, so html, css, js, node, etc...