Easy there, pal!
To access the Getting to know events challenges in the Deep dive in JavaScript for browsers, you need to sign up and subscribe first.
We figured out the Muffin gallery, and now it’s time for a new assignment. This time we need to program a gallery for an online vegetable store.
Muffin doesn’t like vegetables, including especially tomatoes. He prefers dairy products and meat dishes. But a job is a job.
Meow! We need to update a gallery of product photos.
The gallery has thumbnails (elements with the
gallery__picture-previewclass) and a large image (full-pictureclass).The large photo should change after you click on the preview. The large image should be the same as the thumbnail, only with larger dimensions.
The paths to full-size photos can be found in the
picturesarray. The order of the elements in the array is the same as the order of the thumbnails in the markup.
When you are ready, press the Boss, here’s your program! button in the console to start the scan.
You’ve gone to a different page
Click inside the mini-browser to shift the focus onto this window.
To access the Getting to know events challenges in the Deep dive in JavaScript for browsers, you need to sign up and subscribe first.
Have you forgotten your password or lost access to your profile? Enter your email connected to your profile and we will send you a link to restore access.
Forgot to connect your email to the profile? Email us and we’ll help.