myrtletribe

myrtletribe.neocities.org

43,145 views
75 followers
6,026 updates
0 tips
hi all, i caved and put the elements i reuse on every page (nav bar and footer) in a js file. is that common practice? i want to keep the site as simple as possible, but it becomes time consuming if i have to paste one small change on 15+ pages lol
3 likes
win1999's avatar win1999 2 weeks ago

That is common practice! There is the fundamental principle DRY - Don't Repeat Yourself.

3 likes
win1999's avatar win1999 2 weeks ago

This morning, we've been implementing/fixing Help files in w99, and using a js function to inject styles into all of them (different formats, imported differently from w98 .hlp and .chf). It makes everything much easier :)

2 likes
coops's avatar coops 2 weeks ago

omg thank you for the reminder ehehehe... i have like 6 different css files right now, i need to get better at this LOL

1 like
myrtletribe's avatar myrtletribe 2 weeks ago

OH!!!! sounds good, thanks for the reassurance :) i will keep DRY in the back of my mind from now on!

1 like

Website Stats

Last updated 8 hours ago
CreatedApr 3, 2023
Site Traffic Stats

Tags

art ecology books minimalist personal