I have been building this app that helps people play Yahtzee without dice. It's essentially a random number generator visually displayed in the DOM. 

I'm trying to add in some extra functionality by letting players click on the generated numbers which are stored in the DOM in button elements. And by clicking on them it stores that number into the text input field below that. 

I tried multiple different things to paste the value into the input field but nothing seems to work or throw any errors. Logging the value to the console on click works just fine.

TLDR explanation in video(sorry for shitty audio): <https://www.loom.com/share/449c370364b448349e20a06085dae5d5>

Github link: <https://github.com/Roaldkamman/Portfolio_YahtzeeDice>

most important code piece I'm trying to fix: 

```
$(".dice-button").on("click", ".btn_1", function() { 
    $(".myInput").value = this.textContent + ", ";
});

```

How logging to the console works: 

```
$(".dice-button").on("click", ".btn_2", function() { 
    console.log(this.textContent); 
});

```

Thanks in advance for any help! :)