sound effect tutorial is here ! https://petrapixel.neocities.org/coding/sound-tutorial
my opinion is generally that everybody has to make that decision for themselves! in general though i would recommend just practicing CSS because you will get the knowledge/skill you need to do things like that on your own! for more complicated things (like sparkle effects) i also use other people's codes that are shared, just make sure to give credit! especially for beginners i would not recommend using ai ... (1/2)
(2/2) to coding beginners because you also need to learn how to troubleshoot and find solutions (e.g. by googling) on your own - it's a big part of coding. (also how to use tools like linters) however i do understand that if after hours of messing around something still doesn't work, asking ai can be really helpful. but i only would do that if you really have a problem, not if you just don't know how to do something.
TLDR: i would say don't use AI unless you're really stuck or thinking about quitting. also disclosing that you've used AI, if you use AI, is important.
oldkidz-newblockz
1 week ago
music player mechanics for page - to play .mp3 files (i think of 5-15s snippets, personally) on selection
If the links don't work it's usually because you're using a widget that's not on a webring member's page. I can look at it in a few days (not home rn) if you still need help then :)
can you try removing the slash at the end of the file url in this line? Cause it seems like the javascript isn't loaded at all
so remove the slash so that it's: script src="https://gloomymort.neocities.org/webringu.js" ....
gloomymort
6 days ago
Ahh sorry i was away! iv changed that and its still going back to the webring page.
so sorry for the trouble, it was a bug! i fixed it, please re-download the new https://petrapixel.neocities.org/assets/js/webringu.js and it should work!
gloomymort
2 days ago
Ooo thank you so much! its all working now ^_^ i cant wait for other people to join it
i don't mind any of the changes really except that it shows multiple updated pages so largely now >×<
add to the webring list? :3 -> https://petrapixel.neocities.org/coding/webring-list
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.neocities.org/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