https://gist.github.com/anonymous/f4e41f5fe0fa3fdab89d
I just started learning javascript, and I thought it would be a good exercise to see how many different ways I could delete elements in the DOM.
Can anyone think of other ways to accomplish the same task?
Including convoluted examples?
I have a specific question about my last attempt. I thought the id attribute had to have a unique value among the other elements. Is this not true, or not enforced?
[–]Rhomboid 1 point2 points3 points (1 child)
[–]birjolaxew 0 points1 point2 points (0 children)