also huge thanks to stupied who helped me with the code (literally saved my life)!!! it had actually been 6 months ago and ive been using my spare time to figure out javascript stuff and finally be able to optimized the whole thing
yayyy glad to have helped! Just letting you know you can put javascript in an external files to reduce redundancy (having to copy and pasting the same stuff)
So basically things like your filtering and everything after your FILES array (the TARGET, for loop, and etc). Inside your head you can have something like (arrow head left)script src=/path/to/script.js" defer(arrow head right) - neocities freaking out at the arrows haha.The defer is needed so the script runs after all dom elements have been loaded in!
i finally reworked the art gallery thingy with cleaner code and better fliter
also huge thanks to stupied who helped me with the code (literally saved my life)!!! it had actually been 6 months ago and ive been using my spare time to figure out javascript stuff and finally be able to optimized the whole thing
ok ig it takes some times to update the css file so it looks weird now lol
yayyy glad to have helped! Just letting you know you can put javascript in an external files to reduce redundancy (having to copy and pasting the same stuff)
So basically things like your filtering and everything after your FILES array (the TARGET, for loop, and etc). Inside your head you can have something like (arrow head left)script src=/path/to/script.js" defer(arrow head right) - neocities freaking out at the arrows haha.The defer is needed so the script runs after all dom elements have been loaded in!
Also didn't get the change to say it then, but your recent animation is so beautiful :')
@stupied thank you for the advice! i'll try when i have time, and im glad you like my animation <3