I'm interested in showing the first image of the div class 'loop' no matter how many it contains, in the id tag 'image' taking into account that the images that are inside the div 'loop' cannot have id.
all this using javascript
body{
margin: 0;
}
img{
width: 100%;
}
<div>
<img id="image" src="">
</div>
<div class="loop">
<img src="https://1.bp.blogspot.com/-QdQ8C0vBjS0/V-qefEf1m5I/AAAAAAABa1w/wjvJsM7V5y4YvAinwZt5Ab9k-ruoiiNAgCLcB/s1600/Breathtaking-Instagram-Photographs-of-Germany-2-900x900.jpg">
<img src="https://kurrican.com/wp-content/uploads/2019/02/paisajekayak.jpg">
<img src="https://k38.kn3.net/taringa/1/7/8/8/1/6/71/edf2012/0F8.jpg?1182">
</div>
Here I share a code without jquery and without using ID.