document.querySelector('.number').style.width = '30rem'; --- width
document.querySelector('body').style.backgroundColor = '#222'; ---- backgroundColor
document.querySelector('.number').textContent = random_no;
zaharsm / guessmynumber Goto Github PK
View Code? Open in Web Editor NEWBasic DOM manipulation
Home Page: https://zaharsm.github.io/guessMyNumber/