export function getElem(str, query = false){
  if(query)
    return document.querySelector(str);
  else
    return document.getElementById(str);
}

export function findParentLI(target, count = 0){
    if(count > 5) return false; // MAX
    if(target instanceof HTMLLIElement) return target;
    if(!target.parentNode) return false;
    count++;
    return findParentLI(target.parentNode, count);
}//AWW YISS RECURSION

@@ -141,16 +141,175 @@
 tr);%0A%7D%0A%0A
+export function createElem(elem, className)%7B%0A  let element = document.createElement(elem);%0A  if(className) element.className = className;%0A  return element;%0A%7D%0A%0A
 export f

create elements