0
The goal is a slider-show, but I want to create a dynamic array just by listing some images inside a div using pure javascript, for example:
<div class= "slider">
<img src="caminho-da-imagem-1"/>
<img src="caminho-da-imagem-2"/>
<img src="caminho-da-imagem-3"/>
</div>
However, I don’t know how to go through the images of this div, pick up and save the value of the src attribute in an array.