@Mikoyzskie
Posted
Hey chleighton1!
- Clean code! Impressive.
- If you're trying to implement mobile responsive site, there's no need of using states for that.
- Tailwind actually has its own viewport width device width classnames for that
- For example, if you want your component to be row on desktop and column on smaller screens, you can use "flex-col md:flex-row" since tailwind is a mobile first css framework
- Also sm: / md: / lg: / xl: are min-width not max-width
- Hope this helps
Happy Coding!
Marked as helpful