Skip to content

Latest commit

 

History

History
6 lines (5 loc) · 537 Bytes

README.md

File metadata and controls

6 lines (5 loc) · 537 Bytes

Requirements

  1. When exam.html is opened in the browser, the content of variable TABLE_DATA in json/data.js will appear as a table on the browser. Table column order should adhere to the order already written in exam.html.
  2. When button#start is clicked, table rows will randomly rearrange every second.
  3. The processing in 2 can be stopped when button#stop is clicked.
  4. When button#sort is clicked, rows will be sorted by price in descending order. If two or more prices are the same, rows will be sorted in ascending id order.