var $parent = $('<p>').addClass('exanple-class').prop('id','id-parent').appendTo('body');
I partially understand the statement above, but why declare the variable prefixed with dollar sign ? Why not use var parent = somecode
, I've searched and cant find a definition