Im not really sure what they are asking me to do here:
" After your assignment lines, assign the innerText property of goldText to be the variable gold . Use the same pattern to update healthText with the health variable."
there is an example given "
let value = 100;
const total = document.querySelector('#total');
total.innerText = value;
i’m probably just over thinking it, but not sure where to start. Help Please!
Staying inside the same buyHealth( ) function we are building; we are going to assign the innerText property of goldText to be the variable gold …and then “Use the same pattern to update healthText with the health variable.”