I want to display one picture in div. On click button, the next image should be visible within that div. Is it okay to change styles using onclick f.e. div1 display none, div2 display block and some transition or is there any better solution?
Continue the conversation
Join the Discord to ask follow-up questions and connect with the community
R
Reactiflux
The largest chat community for React professionals