function createCardsArray(className){
    var arr = document.getElementsByClassName(className);
    var cards = [...arr]
    return cards
}
//The function takes the class name and create an array of the classes
The function takes the class name and create an array of the classes
The function takes the class name and create an array of the classes
function createCardsArray(className){
    var arr = document.getElementsByClassName(className);
    var cards = [...arr]
    return cards
}
function createCardsArray ( className ) { var arr = document . getElementsByClassName ( className ) ; var cards = [ ... arr ] return cards }
The function takes the class name and create an array of the classes
The function takes the class name and create an array of the classes