Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Single-page design portfolio

P
Lo-Deck 2,460

@Lo-Deck

Desktop design screenshot for the Single-page design portfolio coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
2junior
View challenge

Design comparison


SolutionDesign

Solution retrospective


What are you most proud of, and what would you do differently next time?

Hi here is my solution for Single-page-design-portfolio. I used HTML, CSS, JS.

What challenges did you encounter, and how did you overcome them?

It was to create a carousel/slide for images with an infinite roll.

I changed the src of the image with an array that I roll, instead to change the position.

let arrayPath = [
    "./images/image-slide-1.jpg",
    "./images/image-slide-2.jpg",
    "./images/image-slide-3.jpg",
    "./images/image-slide-4.jpg",
    "./images/image-slide-5.jpg"
];

Array.from(arraySlide).forEach( (item, index) => 
     {
            item.src = arrayPath[index];
     }

What specific areas of your project would you like help with?

Feel free to leave any comments or suggestion.

Thanks.

Community feedback

Please log in to post a comment

Log in with GitHub
Discord logo

Join 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