i’m too lazy to use react and express or whatever to make a single page webapp, so i just write a bunch of javascript so when a button is clicked, all the elements on screen change (css stays the same)

mainly because react docs are blocked on my school chromebook lol

and usually templates on stackblitz or replit are a little to complex for me to understand, heh…

Feb 3, 2023, 3:43 PM
5 0 3

comments

  1. don’t use react, use svelte

  2. don’t update Every Element On Screen, add a data-<whatever>=”some thing” to body and then in css do body[data<whatever>=”some thing”] .my-element { thingy: you are mother }

  1. not suitable for stock repls. I learned that the hard way

  2. *java flashbacks*