http://codepen.io/redixhumayun/pen/JKryAZ/?editors=0011
Hey, I know this is asking a lot, but I'm having a lot of trouble with my Simon Game. It works fine, except when it hits the third iteration, and then it goes haywire, calling the same function twice without iterating over any of the variables I've set up as a counter. Can anybody help me out here?
@Key-Banger you need to add a z-index property to .modal-win. You can read about z-index at w3schools.
// css
.modal-win{
position: relative;
}
// js
$('.modal-win').modal('show');
$('.modal-win').css("zIndex", 1); // insert
I did that wrong. The dialog box is not on top. I'll edit it once I fix it.
:cookie: 356 | @reggie01 |http://www.freecodecamp.com/reggie01
:cookie: 589 | @sorinr |http://www.freecodecamp.com/sorinr