In the previous statement I used `.after(elem)` which appended the input tag as a sibling after the link element (which is our `$(".folderlink, .filelink")`) so by selecting the *next* element we selected the sibling after the current element