create
fun create(tagName: String, className: String = definedExternally, container: <Error class: unknown class> = definedExternally): <Error class: unknown class>
Creates an HTML element with tagName, sets its class to className, and optionally appends it to container element.
Parameters
tag Name
The name of the tag to create (for example: div or canvas).
class Name
The class to set on the created element.
container
The container to append the created element to.