Error in Browser | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Error in Browser

When my browser shows: Uncaught ReferenceError: card is not defined at WriteToTable (script.js:20:25) at onload (index.html:10:31). What should I do?

13th Sep 2022, 3:44 PM
SANJARBEK TURGUNBAEV
3 Answers
+ 2
Please link your code so we can check on it. The error message indicates that the "card" is not found.
13th Sep 2022, 3:57 PM
Lisa
Lisa - avatar
+ 2
SANJARBEK TURGUNBAEV Problem is in your JS code 'card' is is not defined or defined at wrong place.
13th Sep 2022, 4:10 PM
A͢J
A͢J - avatar
+ 1
the error says that you didn't create a variable named card
13th Sep 2022, 4:11 PM
MATOVU CALEB
MATOVU CALEB - avatar