CIT 261 - Fluency Evidence: JavaScript

Loops, Conditional Statements:

                
for(var i=0; i<list.length; i++){
    if(list[i]%2 == 0) {
        evens++;
    }
}
                
            

Functions: All code is implemented in functions.

Arrays:

                
var builtArray = new Array(howBig);
for (var i=0; i<=howBig; i++) {
    builtArray[i] = Math.floor(Math.random() * 500);
    displayArray += "<br>"+builtArray[i];
}
                
            

Test Array:

Evens:

Multiplier:
Multiplied: