Question: You are to implement a simple sorting function: Create a HTML page with 3 textboxes, 1 button and 1 dropdown (refer to the image above)

You are to implement a simple sorting function:

  1. Create a HTML page with 3 textboxes, 1 button and 1 dropdown (refer to the image above)
  2. UserID textbox value has to be:
    • Automatically generated
    • Unique, starts with 1
    • Not user changeable
  3. UserName and UserOccupation textboxes input name and occupation
  4. When users click on Add button, both textboxes values need to be added into a data structure of your own design
  5. Dropdown contains UserID, UserName and UserOccupation for selecting your sorting preferences
  6. Bonus point if you have high code quality (readable and easily maintainable code), relevant comments, optimization,usage of jQuery, event delegation, etc

Create a HTML page and use Javascript to implement a sorting function. Answers without usage of Javascript will have the application rejected automatically. Please send us your codes or any link that we can access your codes. Hint: MySQL is not necessary here, Javascript alone is sufficient (Arrays, objects, etc.). You can use browser storage as well.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!