Submitted
Whilst building this project I had to repeat a useEffect multiple times with the aim of changing the image to screen size is there a way i could have made this reusable/utility and does anyone have any advice on when people would suggest it would be better to use custom styling to prevent re-typing the same tailwind classes?