Tell us what’s happening:
i want when my array match then show me one result.
Your code so far
(function () {
var count = 0;
var result = ["left", "left", "left","one"];
$('.skip_btn1').click(function () {
count += 1;
if (count == 4) {
if (store === result) {
// console.log(store);
console.log(result);
console.log(store);
alert ("it's a match!");
} else {
alert ("it's not a match!");
}
// alert('yes');
// come code
// $('#questions').hide();
// $('.main').show("slow");
}
});
})();```
**Your browser information:**
Your Browser User Agent is: ```Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.84 Safari/537.36```.
**Link to the challenge:**
https://www.freecodecamp.org/challenges/store-multiple-values-in-one-variable-using-javascript-arrays