![Enea Jahollari 🅰 on Twitter: "Had to listen to width changes for an html element, and most of the content online shows that onresize only works on window, and we should use Enea Jahollari 🅰 on Twitter: "Had to listen to width changes for an html element, and most of the content online shows that onresize only works on window, and we should use](https://pbs.twimg.com/media/Fm76VI8XEAIHP_W.jpg)
Enea Jahollari 🅰 on Twitter: "Had to listen to width changes for an html element, and most of the content online shows that onresize only works on window, and we should use
![Making a resizable div in JS is not easy as you think | by Nguyễn Việt Hưng | The happy lone guy | Medium Making a resizable div in JS is not easy as you think | by Nguyễn Việt Hưng | The happy lone guy | Medium](https://miro.medium.com/v2/resize:fit:890/1*DZz7fRGFKx61ZHagfKU71A.gif)
Making a resizable div in JS is not easy as you think | by Nguyễn Việt Hưng | The happy lone guy | Medium
![Making a resizable div in JS is not easy as you think | by Nguyễn Việt Hưng | The happy lone guy | Medium Making a resizable div in JS is not easy as you think | by Nguyễn Việt Hưng | The happy lone guy | Medium](https://miro.medium.com/v2/resize:fit:890/1*zW3oBrwAN6IAwNwvFK0Zdw.gif)