When clicked, the lines should add a '2' between the '1' and '3'. Only the second line works correctly. The only difference is the 'div' block element in the first part.
click me
1
2
3
1
2
3