2

Just finished rebuilding a personal website , pretty normal just a link aggregator I guess and I have got over 160 lines of vanilla CSS but only 15 lines of JavaScript. Is this normal lol ? I think I focus too much on design and "aesthetics" .

Comments
  • 5
    nah, not normal.

    too much javascript. try getting it down to zero.
  • 4
    160lines of css is just enough to center two divs, and you can go with no js and be fine
  • 2
    I mean, in the end of the day, your site is converted only by looks and content (and probably some a11y considerations). Everything else is extra.
  • 1
    I use JS powered tool (11ty) to minimize JS on the site to almost zero.

    Still too much JS but i don't want to optimize too early! XD

    I made career out of JS but I said it before and I'll say it again: the less JS you have in the codebase, the better!
Add Comment