simple frontend coding challenge