since in javascript the convention is to name the variables in camelCase, it should be `selectedDate`