Let\'s say I have an unordered list, like this:
Bald Eagle Falcon Condor<
const list = document.querySelector("ul"); Array.from(list.children).reverse().forEach(element =>list.appendChild(element));