DEV Community

Discussion on: Border Radius Generator Tool (VanillaJS)

Collapse
 
perpetual_education profile image
perpetual . education

That's a fun project and a fun tool. Good job!

We've been using Vue so much... that it was a shock to see the .style property!!! I guess we just haven't used it in a while! How is he going to get that style dynamically in there... haha! Funny.

Collapse
 
crabyke profile image
Duzmath Lajos

Oh, really, I forgot to mention, that the "input" eventListener is updating the style property dynamically, while the "change" eventListener only updates the style when releasing the button.

Collapse
 
perpetual_education profile image
perpetual . education

Playing around with it a bit - and using event delegation: codepen.io/sheriffderek/pen/YzGaNwM + seems like a good challenge to get those sliders positioned with CSS grid!

Thread Thread
 
crabyke profile image
Duzmath Lajos

nice job!