1
How is it possible to change position li? I’ve tried to store in arrays and use methods for array but it didn’t work.
<html>
<head>
<title>teste</title>
<script></script>
</head>
<body>
<ul class="lista">
<!-- preciso que o tem 1 vire o item 7, e o 7 vire o 1 -->
<li class="prim">Item 1</li>
<li class="prim">Item 2</li>
<li class="prim">Item 4</li>
<li class="prim">Item 5</li>
<li class="prim">Item 6</li>
<li class="prim">Item 7</li>
</ul>
</body>
</html>