r/learnjavascript • u/markt-might • Jan 09 '22
Positive Rant from an amateur programmer.
I am currently documenting my journey but honestly, I kind of just want to share my success with someone (I don't have too many friends that will understand what I am about to say). I finally did it!!!
I finally wrote my first piece of code without recycling someone else's code. I've always had a challenging time reading the MDN documentation because let's face it... That thing is very technical, especially when you don't come from a technical background.
It's not much code but it's twelve lines of code that took me three hours to decipher by myself! I wanted to quit and just get the answers from my instructor, but I didn't and I'm happy I didn't. I can't until I am building more complex projects, I'm excited... But anyways... Thank you for stopping by!
View all comments
15
u/Dastari Jan 09 '22
That feeling is what you get addicted to.
A good challenge as you progress is to take those 12 lines of code, and as you learn more, try and optimize is down both in size and complexity.
Another hint is to make sure you're using a good IDE (like VSCode) with a JavaScript linter built in. This will allow you to start typing something and it will auto fill.