2114
Frontend vs backend
(lemmy.ml)
Post funny things about programming here! (Or just rant about your favourite programming language.)
yeah, just css is enough.
you don't need js unless you need to fetch data dynamically.
you can do all of your animations, dropdowns and transitions in css.
like this menu i made. no js in sight.
https://streamable.com/4ba0gg
also fully accessible and you can tab right into it without clicking enter or whatever
(and respects prefers-reduced-motion)