Open Ayowamide opened 3 months ago
document.querySelector('.js-moves').innerHTML = You <img src="images/${playerMove}-emoji.png" class="move-icon"> <img src="images/${computerMove}-emoji.png" class="move-icon"> Computer
;
"keep it inside a template string" it should work! check if the images are inside the images folder or its named with any other names.
document.querySelector('.js-moves').innerHTML = `You
Computer`;
the above code is not working, I have tried to fix it but it won't work. please help.``