this post was submitted on 16 Jun 2025
537 points (99.4% liked)
Programmer Humor
24262 readers
1645 users here now
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I'd like full stack developers to try something. Next time you have an itch for a personal project, see if you can make it with no frontend JavaScript. Just some CSS and HTML forms. All templating handled on the backend. Just try it and see how far you get. Don't worry if it looks like a GeoCities page.
Then try finding places where JavaScript would make it more responsive or better UX in some way. Does the back button still work? Is it actually faster? Does it provide any benefit at all?
Maybe it does, but just try.
I'm a JavaScript developer. But it is fully possible to create a site with no frontend JavaScript
Like many things, you should use JavaScript if you need it. If you don't need remote data sources or live refreshes, pure html and css work perfectly fine and, I would go so far as to say, may even be necessary for resistance web pages.
This is especially true if you're using tor. JavaScript can leak your IP address and sites will work more reliability if you have static content that's refreshed on the back end than using a bloated next.js app taking up RAM.
The vast majority of those are useless animations. Some are even a much worse implementation of something done much simpler with JS and requires significantly more code weighing down the page speed. Some examples of this are the cursor tracking examples which use hundreds of divs in a grid.
While there are some useful examples, it seems like this repo is more of a list of to show off advanced CSS, fancy animations, and designs.
https://developer.mozilla.org/en-US/docs/Web/API/Web_components