static createNode(tag, id = '', text = '') {
    const node = document.createElement(tag);
    if (id) {
      node.id = id;
    }

    if (text) {
      node.textContent = text;
    }

    return node;
  }
Creates a node with optional parameters.
@param {string} tag The name of the tag of the needed element.
@param {string} id The desired id for the element. It defaults to an
empty string.
@param {string} text The desired text to go inside of the element. It
defaults to an empty string.
@return {Element}