button prssed value show in text javascript code example
Example: button prssed value show in text javascript
keys.addEventListener('click', e =>{
display.innerHTML=e.target.textContent
})
keys.addEventListener('click', e =>{
display.innerHTML=e.target.textContent
})