get src values of set of images inside div with pure javascript

Solutions on MaxInterview for get src values of set of images inside div with pure javascript by the best coders in the world

showing results for - "get src values of set of images inside div with pure javascript"
Emely
24 Apr 2019
1const imgs = document.querySelectorAll('.flex-figure img');
2imgs.forEach(img => console.log(img.src));
similar questions