CharterUP interview question

Please complete this code pen.