coded the challenge in JS, and gave a nice UI