The goal is a slider-show, however 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 do not know how to go through the images of this div, get and save the value of the src attribute in an array.