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:
- Create a HTML page with 3 textboxes, 1 button and 1 dropdown (refer to the image above)
- UserID textbox value has to be:
- Automatically generated
- Unique, starts with 1
- Not user changeable
- UserName and UserOccupation textboxes input name and occupation
- When users click on Add button, both textboxes values need to be added into a data structure of your own design
- Dropdown contains UserID, UserName and UserOccupation for selecting your sorting preferences
- 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
Get step-by-step solutions from verified subject matter experts
