@tertiaryidentifier try replacing the var with let or instead using a clojure
@tertiaryidentifier Thats because of closure and async nature of $.getJSON() when you use for loop i is not encapsulated and thats why you get only the last element request and appened to your html
As @cmccormack said use let and also assign user = users[i]; inside $.getJSON() callback function.
where should I replace var with let?
in your for loop initialization and anywhere you're using i in the loop basically
In for loop let i = 0 well you didnt have var in the first place
it worked, thanks all!
glad it's working!
@NJM8 - I like the tic-tac-toe - smoooth operation and it looks good. They removed the requirement for the "unbeatable" option? I haven't tried it yet,other than experiment with the styling a little. I'd put the unbeatable option on the "todo" list for a later time... :)
hey guys into css question here i want my image to have the button on the bottom
I would like the button to be centered on the bottom in relation to the image above
I kinda made it word but when the window resizes it goes all sort of crazt