JavaScript Rock, paper, scissors Dom manipulation
pScore = 0; cScore = 0; tie = 0; //UI. When play is clicked make R.P.S buttons appear const startGame= () => { intro = document.querySelector('.intro'); playBtn = document.querySelector(".playBtn"); match = document.querySelector('.match'); playBtn.addEventListener('click', e => { match.classList.add("fadeIn"); playBtn.remove(); }); }…