214
you are viewing a single comment's thread
view the rest of the comments
[-] snowe@programming.dev 19 points 9 months ago

I've been saying this for years. My site only has a few lines of javascript. the rest is pure html and css, and it's very simple. https://tylerthrailkill.com

[-] nitefox@sh.itjust.works 6 points 9 months ago

Your theme toggle is confusing, it shows the sun when the dark mode is enabled and vice versa

[-] jadero@programming.dev 19 points 9 months ago

There was a thread elsewhere asking whether a toggle should show current state or the state desired. There was enough disagreement that it quickly became apparent that, whatever else the toggle does, there should be something external to the toggle showing the possible states, indicating which way to move the toggle regardless of toggle appearance.

[-] SmartmanApps@programming.dev 6 points 9 months ago

The disagreement was actually all over whether the question was about a switch or a button, and so some people were answering as though it was a switch, and some people were answering as though it was a button - switches and buttons do indeed have opposite approaches usually (a switch usually shows the current state - such as "on" - but a button shows what action will be triggered by pressing it, such as "play").

[-] jadero@programming.dev 2 points 9 months ago

Oops! I guess I wasn't paying close enough attention.

[-] SmartmanApps@programming.dev 3 points 9 months ago

That's ok - a lot of people weren't.

load more comments (7 replies)
load more comments (16 replies)
load more comments (17 replies)
this post was submitted on 13 Feb 2024
214 points (97.3% liked)

Programming

17314 readers
65 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 1 year ago
MODERATORS