0
https://code.sololearn.com/W4bsgEdwMePc/?ref=app Please check my code bit Why does it not work ? Console says: 42 'style' of u
https://code.sololearn.com/W4bsgEdwMePc/?ref=app Please check my code bit Why does it not work ? Console says: 42 'style' of undefined
5 ответов
+ 7
Mr. Unknown
There should be < only not <= in for loop because you have started i with 0
+ 5
Mr. Unknown
When you are using dot on line number 39 then this line is not working because tabcontant.length
tabcontant[i].style.display="none";
+ 4
There is another issue with your code at lines 38 and 39, 'tablink' and 'tabcontant' should be passed to the method, remove the dot.
+ 1
Wow it's working !!!!
But when I 38 and 39 line's dot (tablink and tabcontant ) there is occurring big different !!!
Please visit my code bit in my question and put dot in 38 and 39 line's tablink and tabcontant and please tell me why is the different occurred ???
0
Thank you