Closed orjwan98 closed 5 years ago
https://github.com/FACK1/Countries-autoComplete/blob/4dd217a462dc2d6c0b4f8f9744226206f99dfc44/public/main.js#L21-L30
In line 22, and line 26, is it the same variable? If so, why did you re-declare it with a new name (item)?
no it's not the same variable, item is a child of the container
https://github.com/FACK1/Countries-autoComplete/blob/4dd217a462dc2d6c0b4f8f9744226206f99dfc44/public/main.js#L21-L30
In line 22, and line 26, is it the same variable? If so, why did you re-declare it with a new name (item)?