jquery append top div code example
Example 1: append to top javascript
$('div').prepend('<p>Bla bla bla');
Example 2: appendBefore
let insertedNode = parentNode.insertBefore(newNode, referenceNode)
$('div').prepend('<p>Bla bla bla');
let insertedNode = parentNode.insertBefore(newNode, referenceNode)