Design comparison
SolutionDesign
Solution retrospective
Hi! practice in React and Sass developing an E-commerce with a responsive design. Any observation is welcome
Community feedback
- @yishak621Posted almost 2 years ago
Good design but there are a couple of things u need to fix...first i see ur design in mobile so when i click the prev and next btn and when it reach the final image it doesn't loop back to the first image ...it shouldn't stop to the final image ...so fix that using if statment..example
} else if (style.contains('next-mob')) { count++; if (count > newIndex.length - 1) { count = 0; SetMainImage(count); } }
.and also for the sidebar if u see the design when a sidebar is open there is black transparent background over the body and when sidebar closed it disappeared ....design that too
1
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord