<div class="field"></div>
function createSmallField() {
const card = document.createElement('div')
card.className = 'field-card'
for(let i = 0; i < SMALL_FIELD; i++) {
const insideExistDiv = document.getElementsByClassName('field')
insideExistDiv.appendChild(card)
}
}
function createSmallField() {
const card = document.createElement('div')
card.className = 'field-card'
for(let i = 0; i < SMALL_FIELD; i++) {
const insideExistDiv = document.getElementsByClassName('field')[0];
insideExistDiv.appendChild(card)
}
}