Kevin Powell - CommunityKP-C
Kevin Powell - Community12mo ago
9 replies
Helgi

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.
image.png
CodePendf
...
Untitled
Was this page helpful?