JQuery's ".appendTo(target)" function is used to insert any of the matched DOM elements at the end of the target DOM element
The JQuery .appendTo(target)
function which is used to insert any of the matched DOM elements at the end of the target DOM element.