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
548k questions
547k answers
4 comments
86.3k users