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

we are a community of more than 2 million smartest coders
registration for
employee referral programs
are now open
get referred to google, amazon, flipkart and more
register now
  
pinned-register now
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