NextGenVest interview question

Complete this frontend coding challenge located on this github page.