Is there a way in pure javascript to get the input id with the max value within 4 input? : Javascript noob here :)

I've got 4 inputs with number values.

How can I find the input "id" with the max value, in order to manipulate the css of thi element?

I'd like to code pure javascript...

Thanks