Loading [MathJax]/jax/output/HTML-CSS/fonts/TeX/fontdata.js

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