function ratingDisplay () { 
        const starsContainer = document.querySelector('.stars');
        if (gameLet.totalMoves === 30) {
            starsContainer.children[2].lastChild.className = 'whiteColor fa fa-star white';
        }
        else if (gameLet.totalMoves === 40) {
            starsContainer.children[1].lastChild.className = 'whiteColor fa fa-star white';
        }
    }
//and 1 golden star left if total clicks are equal or more then 50 (makes other stars white)
and 1 golden star left if total clicks are equal or more then 50 (makes other stars white)
and 1 golden star left if total clicks are equal or more then 50 ( makes other stars white )
function ratingDisplay () { 
        const starsContainer = document.querySelector('.stars');
        if (gameLet.totalMoves === 30) {
            starsContainer.children[2].lastChild.className = 'whiteColor fa fa-star white';
        }
        else if (gameLet.totalMoves === 40) {
            starsContainer.children[1].lastChild.className = 'whiteColor fa fa-star white';
        }
    }
function ratingDisplay ( ) { const starsContainer = document . querySelector ( '.stars' ) ; if ( gameLet . totalMoves === 30 ) { starsContainer . children [ 2 ] . lastChild . className = 'whiteColor fa fa-star white' ; } else if ( gameLet . totalMoves === 40 ) { starsContainer . children [ 1 ] . lastChild . className = 'whiteColor fa fa-star white' ; } }
and 1 golden star left if total clicks are equal or more then 50 (makes other stars white)
and 1 golden star left if total clicks are equal or more then 50 ( makes other stars white )