JavaScript Get Child por su nombre
let myForm = document.getElementById('form');
let child = myForm.querySelector('input[name="username"]');
console.log(child);
garzj
let myForm = document.getElementById('form');
let child = myForm.querySelector('input[name="username"]');
console.log(child);