Elektrine
Log in Register
Search Chat Timeline Gallery Friends Email Files DNS Private DNS Domains VPN Notes Passwords
Back
Open post
lemmydividebyzero @lemmydividebyzero@reddthat.com
· 8mo ago
lyra.horse
79
9
0
0
Sign in to interact

Conversation (9)

Showing 8 of 9 cached locally.
1 comment is reported by the remote server but not cached here yet Sign in to load more
Open reply Open reply
MonkderVierte
@MonkderVierte@lemmy.zip · Feb 21

"But CSS sucks”

I believe a lot of the negativity towards CSS stems from not really knowing how to use it. Many developers kind of just skip learning the CSS fundamentals in favor of the more interesting Java- and TypeScript, and then go on to complain about a styling language they don’t understand.

True. I did a HTML+CSS-only gallery when CSS3 just came out. And was positively surprised a few days ago, that a online gallery viewer had a shareable URL per picture (GET request).

While JS forms should just die. They always lose the content on reload or failed send (because of brittle client-side JS send, instead of using age-old browser-features).

13
0
0
Open reply Open reply
jubilationtcornpone
@jubilationtcornpone@sh.itjust.works · Feb 21
Personally I like using server side rendering when I can. The UI should be as light weight as possible and you can do a lot with just HTML and CSS. That said, it's pretty hard to build a responsive web app without at least a little bit of JavaScript.
7
4
0
Open reply Open reply
surewhynotlem
@surewhynotlem@lemmy.world · Feb 21
Thread reply
I'm the other way around. For me, the UI can be chonky frameworks or whatever as long as the user experience is good and it works on lots of platforms. But keep every bit of UI out of my back-end systems. The data and business logic layers should be so divorced from the UI that they didn't even get visitation rights with the kids.
8
1
0
Open reply Open reply
boonhet
@boonhet@sopuli.xyz · Feb 21
Thread reply
Modern server side rendering can luckily be separate from your actual back end. Doesn't even have to live in the same server.
4
0
0
Open reply Open reply
MonkderVierte
@MonkderVierte@lemmy.zip · Feb 21
Thread reply

That said, it's pretty hard to build a responsive web app without at least a little bit of JavaScript.

Not really. You just need to learn the difference between width and max-width.
I do UserCSS now and then and 2 of 3 sites use them wrong. That and position: fixed overuse. Also, use @media (min-width) only for layout changes, not for sizing.

And also, functionality/layouting first, design after.

2
0
0
Open reply Open reply
KairuByte
@KairuByte@lemmy.dbzer0.com · Feb 21
Sadly the linked example doesn’t seem to work on ios.
6
0
0
Open reply Open reply
AstroLightz
@AstroLightz@lemmy.world · Feb 21
I feel JavaScript should be more of a backend scripting language, like with Node, than a frontend. PHP can already accomplish a lot of what JS can do, just on the server-side as opposed to client-side. PHP+CSS is really all you need to make something _feel_ good. People often use JS to make a site _look_ good, yet it usually suffers in functionality.
1
0
0
Open reply Open reply
dieICEdie
@dieICEdie@lemmy.org · Feb 20
This person obviously never tried htmx and that’s why they are crying like a nooby baby.
1
0
0
313k7r1n3 Elektrine

Tor hidden service

elekhj7afj4qnrr4yd3bkzslsyo5jgfxw3orgjkhlcxifueodybyiiad.onion

I2P eepsite

j6b6cyk6gjmepjih7jjadxgxvvf3lzzujljuu2v4biemzpg3naya.b32.i2p

Platform

  • Email
  • Chat
  • Timeline
  • VPN
  • DNS

Company

  • About
  • Pricing
  • Contact
  • FAQ
  • Lite (no JS)

Legal

  • Terms of Service
  • Privacy Policy
  • Transparency Report
  • Report Abuse
  • Warrant Canary
  • VPN Policy

Support

  • support@elektrine.com
  • Report Security Issue
Mail client setup IMAP mail.elektrine.com:993 POP3 mail.elektrine.com:995 SMTP mail.elektrine.com:465
© 2026 Elektrine. All rights reserved. sigkill.is Server: 01:10:16 UTC