Submitted almost 2 years ago
Design portfolio with vanilla JS image slider
@KathrynDavies123
Design comparison
SolutionDesign
Solution retrospective
This was a great challenge. I enjoyed using CSS grid to show the tiles.
Main challenge was creating the image slider, I wanted to do this in vanilla JS although I know there are premade solutions out there. The issue was getting the "transformed" position to change responsively depending on the device width (therefore image width). It took a while but I figured it out by pulling the width of the img dynamically and using that as a base to know how much to move the container.
Any advice or recommendations would be much appreciated!
Community feedback
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