Tiny and quick way to create DOM elements
yarn add @cspoels/Element
To start, load the script
const Element = require('@cspoels/element')
To create a new element in the body of the document
let element = new Element(document.body).create()
An element will be created, it will remember the root for appending alter. The root parameter can be
you can alter the element with functions as:
element.class('is-primary').id('super-element').text('I am the best element')