function updateViewColors(color){
        var ups = document.querySelectorAll('.updated-text');
        for(var i = 0; i < ups.length; i++){
            ups[i].style.backgroundColor = color;
        }
        console.log(color);
        document.querySelector('#updated-image').style.background = color;
    }
/**
    *   Function that changes to color of the sample web page with the new color provided by the user.
    */
Function that changes to color of the sample web page with the new color provided by the user.
Function that changes to color of the sample web page with the new color provided by the user .
function updateViewColors(color){
        var ups = document.querySelectorAll('.updated-text');
        for(var i = 0; i < ups.length; i++){
            ups[i].style.backgroundColor = color;
        }
        console.log(color);
        document.querySelector('#updated-image').style.background = color;
    }
function updateViewColors ( color ) { var ups = document . querySelectorAll ( '.updated-text' ) ; for ( var i = 0 ; i < ups . length ; i ++ ) { ups [ i ] . style . backgroundColor = color ; } console . log ( color ) ; document . querySelector ( '#updated-image' ) . style . background = color ; }
Function that changes to color of the sample web page with the new color provided by the user.
Function that changes to color of the sample web page with the new color provided by the user .