guys, it's time. i'm making a beginner's javascript tutorial. it's going to be structured a bit differently than most javascript tutorials, so i need to know: what are some things you want to know how to do with javascript? :]
writing code that isn't slow. Javascript bloat is a real issue, so some guidelines on efficiency/not overusing javascript would be helpful to many people if included
I'm super stuck on JavaScript dates. it seems like no matter what I do it shows the date a day before the date I actually put in. I know this has something to do with time zones but I just can't figure it out lol.
maybe dark mode could have a bundle with font toggles? since they both rely on localStorage, and font toggles also are a good way to learn to target elements (which still confuses me a little sometimes)
honestly? I usually just copy and paste java cause none of it makes sense to me lol!! so the basics and learning how to understand what the different commands mean would be an extremely helpful first step
ooouhh! I literally started wanting to code javascript since i've been using more and more snippets from w3schools. i'd like a tutorial on maybe the syntax to start, basic commands, and basic things you would need to know to begin building stuff like a to-do list or pomodoro timer?
I've always seen people have really cool websites with draggable things and I think that would be very cool if you could make a tutorial on how to do that with javascript
If there's a way to load sidebar items on every page without having to use includeHTML and without breaking any of the Javascript functions of said sidebar items. I've read your tutorial on making the same layout for every page, but it's not compatible with Sadgrl's layout, which I use as a base. So I've been resorting to using includeHTML for all my layout items.
Garbage collection. Although, browsers nowadays has some built-in GC, I fear that my messy code could unexpectedly leak some unintended stuff. Maybe best practices on some declarations and destructors or something.
i think the hardest part of javascript (and programming in general) is translating real-world problem solving into a complete sequence of programming steps. a tutorial focused on that gap would be really helpful, since that’s always been my main struggle. especially with javascript relying so much on its environment like the dom.
ideas i've had so far: how to make things happen on click, randomizing order of elements, random generator, dark mode
btw, sound effect tutorial is here ! https://petrapixel.yorniq.xyz/coding/sound-tutorial
writing code that isn't slow. Javascript bloat is a real issue, so some guidelines on efficiency/not overusing javascript would be helpful to many people if included
would using localStorage, eg 'how to remember information for next time' or something, be too advanced?
@tofutush i was actually planning to add that to the 'dark mode' section :)
I'm super stuck on JavaScript dates. it seems like no matter what I do it shows the date a day before the date I actually put in. I know this has something to do with time zones but I just can't figure it out lol.
calendar/analog clock
I second @maxcrunch their comment because i had to deal with that once for my job, javascript dates are super confusing for beginners
maybe dark mode could have a bundle with font toggles? since they both rely on localStorage, and font toggles also are a good way to learn to target elements (which still confuses me a little sometimes)
honestly? I usually just copy and paste java cause none of it makes sense to me lol!! so the basics and learning how to understand what the different commands mean would be an extremely helpful first step
ooouhh! I literally started wanting to code javascript since i've been using more and more snippets from w3schools. i'd like a tutorial on maybe the syntax to start, basic commands, and basic things you would need to know to begin building stuff like a to-do list or pomodoro timer?
I've always seen people have really cool websites with draggable things and I think that would be very cool if you could make a tutorial on how to do that with javascript
cookies? (not cookies used by 3rd parties, i hope)
i think a tutorial on javascript event listeners and how to write functions would be good
If there's a way to load sidebar items on every page without having to use includeHTML and without breaking any of the Javascript functions of said sidebar items. I've read your tutorial on making the same layout for every page, but it's not compatible with Sadgrl's layout, which I use as a base. So I've been resorting to using includeHTML for all my layout items.
I actually love the idea of the dark mode
Garbage collection. Although, browsers nowadays has some built-in GC, I fear that my messy code could unexpectedly leak some unintended stuff. Maybe best practices on some declarations and destructors or something.
echoing the local storage thing, just remembering accessibility preferences of users. i know you've said you'll add it : )
i think the hardest part of javascript (and programming in general) is translating real-world problem solving into a complete sequence of programming steps. a tutorial focused on that gap would be really helpful, since that’s always been my main struggle. especially with javascript relying so much on its environment like the dom.
@badjoke love this idea! have you got an example?