js/ui.js
/**
 * Creates an img element.
 *
 * @param src Content to create the img element with.
 * */
Creates an img element.
@param src Content to create the img element with.
Creates an img element . @param src Content to create the img element with .
function addImg(src) {
    let img = document.createElement('img');
    img.width = 24
    img.height = 24
    img.align = 'middle'
    img.display = 'block'
    img.src = src
    return img
}
function addImg ( src ) { let img = document . createElement ( 'img' ) ; img . width = 24 img . height = 24 img . align = 'middle' img . display = 'block' img . src = src return img }
Creates an img element.
Creates an img element .