lucabenaventew/portfolio-microverse

Debugging the code

Closed this issue · 0 comments

#Debugging
1 - first in this code for (let a = 0; a < data.length; a += 1) { .... , and the rest of code used i instead of a so , you can change a to i or i to a.
2- in this part of code if (data[i].value != '') { you miss one equal sign it should be !==.
3- and finally here if (data[].value.toLowerCase() != . you got you [] empty i think it should be [1].