Skip to content

thomasjerryarackal/MadHax-Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Prerequisites

  • Please write your code to run on the latest version of Chrome.
  • Do not use libraries; please write your code using only the JavaScript specifications and APIs that are usable on the aforementioned browser.

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.

Additional Notes

  • Please write your code so as to avoid triggering unnecessary reflows and repaints.
  • As long as your code fulfills the requirements, you may add other optional features or requirements.

Instructions

  1. Download test.zip from this page and open it on your machine.
  2. You will find the files needed for this test. Edit js/app.js by writing code that fulfills the requirements above. You do not need to edit the other files.
  3. Once you are finished, compress all of the code (including js/app.js) into a zip file and upload it from the form below. Please note that you will be unable to upload files once time has run out.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published