These are chat archives for filearts/plunker

7th
Oct 2018
jaypro1
@jaypro1
Oct 07 2018 02:21

hey anyone know why a button is not reacting to my click.
i made a button with command :

<button id="new-game-button">New Game</button>

<script src="script.js"></script>

and in the JS file:
let newgame = document.getElementById("new-game-button");
newgame.addEventListener('click', function(){
title.innertext = "New WOel";
});
still doesnt work
jaypro1
@jaypro1
Oct 07 2018 03:15
Solved