Here is a simple form that stores data at the following link: https://jsfiddle.net/andresmcio/vLp84acv/
var _newStudent = {
"code": code,
"names": names,
"grade": grades,
};
I'm struggling to retrieve the highest and lowest grade with their respective buttons, as it currently shows the last entry as both the maximum and minimum value.
If anyone could provide assistance, I would greatly appreciate it. Please note that the solution should be displayed as is (using alerts) and must only use pure JavaScript, without any jQuery or other libraries.
Thank you in advance.