JavaScript letzte Elemente gleiche Klasse
var someElementsItems = document.querySelectorAll(".some-element");
console.log(someElementsItems[someElementsItems.length -1])
Relieved Rhinoceros