Luna  Mosciski

Luna Mosciski

1599318660

Vue.js Interview Challenge — #5 — Roll the Dice

Problem statement

In this challenge we want to simulate a dice roll implementing a logic that returns a random value in range from 1 to 6 when the user clicks on the button.

We finish the task and try to test it, but for some reason every time we click on a button we get the same value. There are two options here, or we are extremely lucky and we get the same value, or there is something wrong with our code.

Go through the code and find what needs to be changed to get it working.

#interview-preparation #vuejs #interview-questions #interview-tips #interview #vue

Vue.js Interview Challenge — #5 — Roll the Dice