O GoConqr está de visual novo! Conte para nós o que você achou.

Módulo 13 de 21 · Mídia

Create a carousel with handlers

Kostas Diakogiannis

Create a carousel with handlers

DOM-4 Create a photo-carousel 

Create a photo carousel section. The carousel must be comprised of at least 4 photos and normally moves from the left side to the right.

Use two arrow handlers to the left and to the right. Feel free to put your photos there.

Bear in mind: When you want to grab multiple elements together you can use the document.querySelectorAll function that returns an ARRAY of elements. Then to apply your changes you must LOOP through each array's element and apply the changes for it as you learned in the arrays section.

Hint: Every time you click one of the handlers you may want to move all the photos a specific amount of px (or %, or whatever you want) to the specified direction.

See the full action here

Instruções

Para avançar no curso, envie uma tentativa deste quiz. Você pode enviá-la depois da última pergunta.

Ir para o módulo escolhido

Fale Conosco

Sobre o que é sua mensagem?

O que você acha do novo visual?

Você gostou?