getting access to title element with query selector j code example
Example: js queryselector names
// This selects the first element with that name
document.querySelector('[name="your-selector-name-here"]');
// This selects the first element with that name
document.querySelector('[name="your-selector-name-here"]');