Using if-else statements in javascript. Created a statement that checks for a color, then outputs a string based on the outcome