call function from button and inside function
I have a function updateScreen to update text fields. I want to call the function from inside another buttons function.
function updateScreen() {
(updates numerous text fields)
};
btnOne.addEventListener("click", updateOne.bind(this));
function updateOne() {
(changes variables);
updateScreen()
}
