<input type="hidden" name="up">
<input type="hidden" name="down">
const up_names = document.getElementsByName("up");
  console.log(up_names[0].tagName); // displays "INPUT"

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.