SuperSimpleDev / javascript-course

593 stars 477 forks source link

lesson 10 bug #98

Open Ayowamide opened 3 months ago

Ayowamide commented 3 months ago

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.``

masabinhok commented 2 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.