Build an Image Gallery
Attach a click handler to every element with class .thumb so that clicking one copies its src onto the #main-image element.
Loading editor…
Live preview
Attach a click handler to every element with class .thumb so that clicking one copies its src onto the #main-image element.