index.js
const img = document.createElement('img') // const img = new Image() img.classList.add('avatar')