Last active
November 12, 2015 07:49
-
-
Save goodbedford/32d5d9e3ff20bcf0a4ef to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// what will Loretta wear? | |
// if the temperature out side is below 55 then she will wear a coat and pants. if the temperature is below 70 | |
// she will wear shirt and pants but if the temp is higher than 70 she will wear her shorts and short sleeve shirt. | |
// write the inner code for the whatToWear function. | |
function whatToWear( temp ) { | |
var clothes = ['shorts', 'short sleeve', 'pants', 'shirt', 'coat']; | |
var outfit =[]; | |
//do not change | |
console.log("Loretta will wear ") | |
return outfit | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment