Here, this is what I wrote in my lesson, I hope it helps. Code: // Write your function below. // Don't forget to call your function! var creditCheck = function creditCheck(income) { if (income >= 100) { return "You earn a lot of money! You qualify for a credit card."; } else if (income < 100) { return "Alas you do not qualify for a credit card. Capitalism is cruel like that."; } }; console.log(creditCheck(75)); console.log(creditCheck(125)); console.log(creditCheck(100));
oh, console.log >.< I forgot about that, lol (too used to return now) EDIT: aaaaand finished. Thanks Max EDIT2: Now for rock paper scissors... uh oh, and i might add lizards and spock xD