Skill Test - Functions

create a function called outputCity( ) the function will accept one input parameter named inCityName within the function use console.log( ) to display inCityName in a message that includes "Student City " Call the function in a runtime script pass "Ames" into the function Call the function using a button with an onclick event handler pass "Des Moines" into the function Using Javascript complete the following instructions within your page:


Using Javascript complete the following instructions within your page: create a function called returnCityState( ) the function will accept one input parameter named inputCity create a local variable named studentState with a value of "Iowa" concatenate inputCity with studentState, remember to place a space between the words return the concatenated string Call the function within a console.log( ) command during runtime to output the returned value from the function pass "Ankeny" into the function When finished or time is up: