I am bit troubled in aligning the content as shown in the image. Along with that I need to redirect to page 1 by clicking on content section and redirect to page 2 by clicking the icon separately. How can I solve it using javascript?
You should set a state variable and redirect conditionally
1.4m articles
1.4m replys
5 comments
57.0k users