a front-end code challenge I'm working on completing