$(elem).append('<h4>'+inputTaskName.value+'</h4>'
'<div>'+taskPerformer.value+'</div>'
'<time>'+taskTime.value+'</time>'
'<p>'+inputTaskText.value+'</p>');
el.innerHTML += '....';
function appendEl(parent, tag, html) {
var el = document.createElement(tag);
el.innerHTML = html;
parent.appendChild(el);
}
appendEl(el, 'h4', inputTaskName.value);
appendEl(el, 'div', taskPerformer.value);