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

18th Apr 2021, 6:00 AM
RD:programmer
RD:programmer - avatar
5 Answers
+ 7
Mr. Unknown There should be < only not <= in for loop because you have started i with 0
18th Apr 2021, 6:32 AM
A͢J
A͢J - avatar
+ 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";
18th Apr 2021, 10:27 AM
A͢J
A͢J - avatar
+ 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.
18th Apr 2021, 8:17 AM
ODLNT
ODLNT - avatar
+ 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 ???
18th Apr 2021, 10:05 AM
RD:programmer
RD:programmer - avatar
0
Thank you
19th Apr 2021, 7:46 PM
Arbind Kumar
Arbind Kumar - avatar