js question
https://codepen.io/etrbbr/pen/LEPoMQZ
Hey guys. When I add a new <li> element, an <hr> line should appear after each one. But the problem is that when I add it via JS, it works incorrectly.
How it should look – in CodePen before adding new elements.
Hey guys. When I add a new <li> element, an <hr> line should appear after each one. But the problem is that when I add it via JS, it works incorrectly.
How it should look – in CodePen before adding new elements.


