Commit for front-end exercise. Thanks.

Thank you for your consideration. Here is the completed code based on the criteria. Please let me know if you have any questions.