Small Vanilla JS app which generates a "pick two" mechanism.
E.g. when it comes to the software, you always have to choose two out of:
- fast
- cheap
- good
If something is fast and cheap at the same time, it just cannot be good. And so on and so forth.
Share the URL https://mat3e.github.io/pick2?first=fast&second=cheap&third=good where first, second and third parameter values can be modified.
You can also use the title parameter to change 'Pick two' header into something else.
Protip: use + for a whitespace.
- custom switch web component
- it took me too much time to find something like that, so I finally used just the mentioned CSS lib