In one HTML document:
Please create an array of student names and another array of student grades.
Create a function that a user can input a name and a grade to the arrays. Please have input validation (letters for name and numbers for grades).
Keep Read student name and grade until user input is â€œ???â€.And save the reading by using a function
Create another function to show all the grade in that object.
Create the third function that can display the maximum grade and the studentâ€™s name.
Create a sorting function that can sort the arrays based on the studentâ€™s grade.
Display all the grades and names sorted by the grade.
Please do not create a seperate .js file! I’d like it in one html file.