image slider onclick button - JavaScript
问题 I completely stuck with slider with url links inside the Array. How to make this code run appropriate? This is it: https://codepen.io/konradszymanski/pen/VwvLgYG?editors=0110 or here is html: <script src='https://kit.fontawesome.com/a076d05399.js'></script> <div class="container"> <button class="left" onclick="" ><i class='fas fa-angle-left'></i></button> <button class="right" onclick="next()"><i class='fas fa-angle-right'></i></button> </div> and js: var images = [{img: "https://upload