Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
function changeTitle(){ let selected = document.getElementsByClassName("input-radio"); let title = document.getElementsByClassName("resourcetitle")[0]; if(selected.length > 0){ title.innerHTML = selected[0].parentElement.getElementsByClassName("input-label")[0].innerHTML; } else{ title.innerHTML = "All Resources"; } }