js/local.js
//Function to make and append new children to a parent element
Function to make and append new children to a parent element
Function to make and append new children to a parent element
function appendElement(child, content, parent){
  var newElement = document.createElement(child);
  newElement.textContent = content;
  parent.appendChild(newElement);
}
function appendElement ( child , content , parent ) { var newElement = document . createElement ( child ) ; newElement . textContent = content ; parent . appendChild ( newElement ) ; }
Function to make and append new children to a parent element
Function to make and append new children to a parent element