Sun West Mortgage interview question

Main question was to make a function that will take a string with rates/prices and turn it into an HTML table.