Skip to content

Instantly share code, notes, and snippets.

@goodbedford
Last active November 12, 2015 07:49
Show Gist options
  • Save goodbedford/32d5d9e3ff20bcf0a4ef to your computer and use it in GitHub Desktop.
Save goodbedford/32d5d9e3ff20bcf0a4ef to your computer and use it in GitHub Desktop.
// 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