i used to open a new project, create index.html, style.css, script.js and leave script.js completely empty
Posted by Academic-Yam3478@reddit | learnprogramming | View on Reddit | 4 comments
every single time.
i'd write the html.
I'd write the CSS and then i'd just stare the js file and close the complete project to start a new one.
not because i didn't knew js existed, just because of the logic felt like a wall that I felt I won't be able to climb.
went on like for few months, whole projects with zero interactivity because i was too scared to write a single function.
one day i just opened a random tutorial[building a 3D mouse hover card animation] and typed along. didn't even understand half of it. but something clicked and i never had that paralysis again.
anyone else have one specific thing that just wouldn't click until suddenly it did?
ExtraTNT@reddit
My html is basically empty, loads the app.js, elements are added to the dom with js…
ThunderChaser@reddit
That’s absolutely cursed.
ExtraTNT@reddit
Nope, normal dynamic webapps…
bird_feeder_bird@reddit
I had opposite problem, writing entire programs in Javascript, while leaving the html and css basically blank