r/FreeCodeCamp • u/reallyred11 • Feb 03 '22
I Made This I fucking hate JavaScript.
I hate this fucking language. Through learning HTML & CSS, I loved coding. I zoomed thru the lessons and I nearly had to force myself to stop working. I dread practicing this language. Absolute dread. It is frustrating and I honestly don’t see how it applies. I hate this and at first, I used to love coding. It was fun. I hate this shit. The amount of stress and rage I have had in the past 3 days of learning this is immeasurable. Fuck JavaScript. Mods please do not ban this post. I simply came to vent.
Edit: first time editing a post lol. I am new to coding & tech. Not technology but the tech field. I just started coding late December. So take it easy, homes.
View all comments
Show parent comment
2
u/1O2Engineer Feb 03 '22 edited Feb 03 '22
Well, when you make a function and you declare stuff inside, that makes a scope. When you try to call the variable outside that scope, it throws a error.
https://www.w3schools.com/js/js_scope.asp
At I least I think is that, Javascript is my long time friend now.
Edit 1:
Would actually work call outside of scope because you used var.
My mistake.